I have a scenario where i need to find the count of rows in the table. The data on the table keep on loading once I scroll down. I need to write a logic to scroll till all the data loads and then get the count of rows.
One solution I have is to get the page height before scrolling to the bottom and then take the page height and apply the while loop to run the loop until before and after loop is equal. One issue I am facing in this is I am unable to get the page height. Is there a way to the page height?