How to know if nothing more to scroll?

Here I have a table and I am using get visible text to extract the data , how do we make the bot to keep on scrolling until in reach the bottom where nothing to extract and scroll and then bot will stop because the scroll reach the bottom . Any idea ? Thank you

If you have any idea please let me know , would be much appreciated thanks.

Hi @AhmedKutraphali

You could surround it with Do While activity. Does your activity Get Visible Text selector has a incrementing Index until you get a Selector Not Found exception ?

Use Try-Catch activity

  • Try is Get Visible Text activity
  • Catch is Selector Not Found exception with Assign the variable value to exit the Do While activity
  • Finally is Increment Index by 1 and Send HotKey pgdn

image