browser_scroll
Scroll a page or element by a specified pixel amount in a chosen direction to reach off-screen content during browser automation.
Instructions
Scroll the page or an element by a pixel amount.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "browser_scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Pixels (default 600). | |
| target | Yes | Element ref like e3 from a prior browser_snapshot, OR a raw Playwright selector (css=, xpath=, text=, role=). | |
| element | No | Human-readable element description for logging only. | |
| direction | No |