Finding elements of table in selenium
Elements in table can be accessed using xpath. Here is the sample HTML code: [crayon-673714a4a5bac306109004/] To locate first “td” in first “tr” in above HTML code. Below is the xpath: //table//tr[1]/td[1] To locate second “td” in first “tr”. Below is the xpath. //table//tr[1]/td[2] To locate cells of Pune and Mumbai below is the xpath. //table//tr[1]/td To locate the
Read more