TaskBot Does Not Automatically Scroll

Here are the reasons why your TaskBot might not be scrolling on an endless scroll page:

  1. You are not using the right loop set-up in Start Repeat. When using the standard type of loop (Standard Loop), scrolling is done automatically. But when you toggle Auto-Detect Option, auto-scrolling is not supported. Solution: If you need auto-scrolling, then do not toggle auto-detect and enter number of repetitions below. If you do not know how many elements there are, simply enter an unrealistically high number, as the TaskBot will terminate the loop automatically if your CSS or XPath selector repeatedly fails.

  2. The scrolling needs to be done inside a certain part of the page. For example, a chat application like Discord or Slack will have a sidebar on the left and a message stream on the right. Both are scrollable. How can your TaskBot know where to scroll? This is when you need to first focus on some element (by using Click Web Element or Hover Web Element) before initiating your loop. Here is a community tutorial that shows how to save data from Google Maps with a similar issue: https://youtu.be/GDCcXFr7sZ8?si=4ys1_PdVrTyuMdTL.

  3. Finally, it's possible that your website or scrollable container is so unique that out-of-the-box scrolling does not work. In this case, you need to build your own scrolling logic by, for example, incorporating Arrow Down or Space keys in Keyboard Action building block.

Last updated