Remote Scraper Action icon

Remote Scraper Action

Execute browser automation actions on a remote scraper

Infinite Scroll

AI-generated

Summary

Scroll down a webpage automatically until reaching the bottom, a specified number of target elements, or a stop condition element.

Inputs

  • Session ID — Session ID from a previous action to continue the same browsing session; leave empty to create a new session automatically.
  • Target Selector — CSS selector string to identify target elements to count during scrolling. Scrolling may stop when the number of these elements reaches the target count.
  • Target Count — Number of target elements to find before stopping the scroll.
  • Stop Selector — CSS selector string for an element that, when visible, causes the scroll to stop.
  • Max Scrolls — Maximum number of scroll actions to perform before stopping.
  • Scroll Delay — Milliseconds to wait between each scroll action.
  • Scroll Amount — Pixels to scroll down each time; if zero or not set, scrolls to bottom each time.
  • Skeleton Selector — CSS selector for a loading skeleton element to wait for after each scroll, indicating loading in progress.
  • Skeleton Timeout — Milliseconds to wait for the skeleton loading element before timing out.
  • Timeout — Maximum milliseconds to run the infinite scroll action before forcibly stopping.

Output shape

a single record

Returns an object containing a message, the count of scrolls performed, the number of target elements found, and a stop reason indicating why the scrolling ended.

Links

Discussion