In a Selenium Junit test, for a table with 'n' rows in a dialog box of a webpage, I am able to calculate number of rows using
Table.size() (Table is a List of elements which finds elements with tag tr)
The problem is the
size() gives all rows (n rows) in the table. How do I calculate rows which are seen only on the view (having height of 'x'px -I am able to calculate the height of table and rows though ).