scroll
Brings a page, container, or element into view; reports position and content growth to find lazy-loaded items, then waits for layout settle. Use container selector and direction for inside containers.
Instructions
Scroll the page, a container, or an element into view. Reports the position and content growth (scrollHeight delta — detects lazy-loaded content) and handles settle timing. Use container_ref/container_selector plus direction to scroll inside a container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref to scroll into view | |
| amount | No | Pixels per scroll (default 500); only with direction | |
| selector | No | CSS selector to scroll into view | |
| direction | No | up or down (default down); used when no ref/selector | |
| container_ref | No | Scrollable container ref (scrolls it, not the page) | |
| container_selector | No | Scrollable container CSS selector |