browser_scroll
Scrolls the page or a specified element into view. Supports direction, pixel amount, and CSS selector for targeted scrolling.
Instructions
Scroll the page or scroll an element into view.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID | |
| direction | No | Scroll direction (up, down, left, right, top, bottom) | down |
| amount | No | Pixels to scroll (for up/down/left/right) | |
| selector | No | Element to scroll into view (optional, overrides direction) | |
| by | No | Selector type if selector is provided | css |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |