browser_scroll
Scroll the page to a target element, absolute position, or by a relative offset; defaults to scrolling to the top.
Instructions
Scroll the page or scroll an element into view.
• Pass a CSS selector to scroll that element into view (smoothly). • Pass x/y to jump the page to absolute scroll coordinates. • Pass by=true with x/y to scroll relative to the current position (e.g. y=500 scrolls down 500 px). • No arguments scrolls to the top of the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Horizontal scroll position in px (page scroll, ignored when selector given) | |
| y | No | Vertical scroll position in px (page scroll, ignored when selector given) | |
| by | No | If true, scroll BY (x, y) relative to current position instead of TO (x, y) | |
| selector | No | CSS selector — scroll this element into view. Empty = scroll the page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |