lundi 20 novembre 2017

Web Driver Selenium: how to identify particular row in table

Need to click on this text 'Best Pathology Service' from dynamic table.

Tried the this statement, it works sometime.

driver.findElement(By.xpath("//td[@title(text(), 'Best Pathology Service')]")).click();

Attached the table structure enter image description here




Aucun commentaire:

Enregistrer un commentaire