Finding elements of table in selenium
Elements in table can be accessed using xpath. Here is the sample HTML code: [crayon-67667f722aaaf466087318/] 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