Scroll
browser_scrollScroll pages, virtual-scroll containers, or specific elements into view to reach off-screen content and trigger loading in browser automation workflows.
Instructions
Scroll the page or a container (virtual scroll lists), or scroll an element into view.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| nth | No | ||
| ref | No | Element ref from snapshot (preferred) | |
| name | No | ||
| role | No | ||
| text | No | ||
| exact | No | ||
| label | No | ||
| amount | No | ||
| expect | No | ExpectSpec postconditions | |
| pageId | No | ||
| testId | No | ||
| within | No | Scope to a unique container (ref, role+name, label, testId or CSS selector) | |
| session | No | ||
| selector | No | CSS (last resort) | |
| snapshot | No | Page state returned after the action: diff (default), full, none | |
| direction | No | ||
| placeholder | No |