browser_scroll
Scroll a page by pixel offsets or bring a specific element into view using its ref, selector, or visible text.
Instructions
Scroll the page by deltaY/deltaX pixels, or scroll an element (ref/selector/text) 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 |
|---|---|---|---|
| ref | No | Element ref from browser_snapshot, e.g. "e12" | |
| text | No | Visible text to match (alternative to ref) | |
| deltaX | No | ||
| deltaY | No | ||
| selector | No | CSS or Playwright selector (alternative to ref) |