Selenium: Working with tables

Last updated on:

WebElement baseTable = driver.findElement(By.className("tableClassName"));
List<WebElement> tableRows = baseTable.findElements(By.tagName("tr"));
tableRows.get(index).getText();
View Comments

Leave a Comment

Use markdown or basic HTML and be nice.