Automatically scrolls through infinite scroll content by repeatedly scrolling to the bottom until no new content loads or maximum scroll limit is reached.Documentation Index
Fetch the complete documentation index at: https://intunedhq.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Examples
Arguments
The Playwright Page or Locator to scroll.
Optional callback function to call during each scroll iteration. Defaults to lambda: None.
Maximum number of scroll attempts before stopping. Defaults to 50.
Delay in seconds between scroll attempts. Defaults to 0.1.
Minimum height change in pixels required to continue scrolling. Defaults to 100. If the page has loaded all content and we still haven’t reached the max_scrolls, the min_height_change will detect that no new content is loaded and stop the scrolling.