- 
	
	Jeff replied to the topic Find rows & columns of a table using selenium in the forum Quality Assurance / Software Testing 7 years, 3 months ago Use below code 
 List<WebElement> iRows = driver.findElementByXPath(“\path of the tr in the webtable\”);
 iRowCount = iRows.Size();
 List<WebElement> iColumns = driver.findElementByXPath(“\….tr[1]td”);
 iColCount = iColumns .Size();

 
			 Login with Google
Login with Google