handle-infinite-scroll

Automate web page scrolling to load infinite-scroll content with configurable stop conditions.

8|Updated May 13, 2026
One-click install
npx skills add https://github.com/bettyguo/browser-skills --skill handle-infinite-scroll
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: handle-infinite-scroll
Source: https://github.com/bettyguo/browser-skills/tree/main/skills/handle-infinite-scroll
Command: npx skills add https://github.com/bettyguo/browser-skills --skill handle-infinite-scroll

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates loading of content on pages that lazy-load as you scroll, enabling downstream extraction or analysis without manual scrolling.

Core Features & Use Cases

  • Automatically scrolls the page to trigger lazy-loading with configurable stop conditions (no more content, max iterations, or a visible target selector).
  • Suitable for feeds, lists, and search results that dynamically load as you scroll.
  • Works with existing extraction skills to capture new items after each scroll.

Quick Start

Tell the agent to scroll through this page until all content is loaded or a specific element becomes visible.

Frequently Asked Questions about handle-infinite-scroll

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate scrolling to load lazy-loaded content on dynamic web pages?

Automating scrolling for lazy-loaded content requires triggering the page's scroll event until new items stop appearing. This skill uses deterministic steps like wait_for_dom_ready and scroll_until with no_more_content conditions to load all dynamic feeds or search results.

How does infinite scroll automation handle stop conditions for feeds and lists?

Infinite scroll automation stops based on configurable conditions such as no_more_content detection, reaching max_iters, or a target selector becoming visible. These runtime overrides ensure scrolling halts precisely when all lazy content is loaded.

Can I use this to scroll until a specific element becomes visible on a page?

Yes, you can configure scrolling to stop when a specific target selector becomes visible. This allows you to load dynamic content until a desired element appears on the page, using runtime vars to override default settings.

What's the best way to extract data from a web page with infinite scrolling?

The best way to extract data from infinite scrolling pages is to pair scrolling automation with an extraction skill. This skill scrolls to load lazy content, enabling downstream extraction or analysis without manual scrolling.

Why does my web automation fail to capture lazy-loaded search results?

Web automation fails to capture lazy-loaded search results when the page hasn't scrolled enough to trigger dynamic loading. Using scroll_until with wait_for_dom_ready ensures the DOM is fully updated before attempting data extraction.

Do I need any external dependencies to automate scrolling for lazy-loading feeds?

No external dependencies are required to automate scrolling for lazy-loading feeds. The skill operates independently using deterministic steps and supports runtime overrides via vars to configure stop conditions and target selectors.