chrome_scroll
Scroll a webpage or element with configurable direction, distance, and behavior. Returns scroll position and boundary status for infinite scroll and pagination detection.
Instructions
Scroll the page or a specific element. Supports direction (up/down/top/bottom), distance (pixels), element targeting (selector), and behavior (instant/smooth). Returns scroll position, boundary detection (atTop/atBottom), and dimensions. Useful for infinite scroll detection and pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| behavior | No | Scroll behavior: instant (immediate, default) or smooth (animated) | |
| distance | No | Distance to scroll in pixels (required for up/down, ignored for top/bottom). Must be positive. | |
| selector | No | Optional CSS selector for element to scroll (default: window/page scrolling) | |
| direction | Yes | Scroll direction: up (scroll up by distance), down (scroll down by distance), top (scroll to top), bottom (scroll to bottom) |