How to scroll to the bottom of a custom table
Hi,
while dealing with a custom table in Angular JS app, I'm trying to read the contents of the last row. In the beginning, I see only 20 rows. As I scroll down to the bottom, more rows get loaded and same things happen again and again. In the end, I see a total of 55 rows. HTML DOM also shows 55 rows, but in the beginning, it was showing just 20 rows. One this that's clear is that I can't rely on the DOM to get the row count. So I think scrolling down to the bottom of the table and then using 'EvaluateXpath'
method to calculate the number of rows would be the best idea.
At this point, I'm struggling to scroll the table to the bottom. Could anyone suggest any ideas on how to scroll to the bottom of a dynamically loading table?
Thank you
Abhi