scroll_into_view
Scroll a CSS-selected element into view in iOS Safari, with optional block alignment (start, center, end, nearest) to ensure it is visible.
Instructions
Scroll an element into view (block: start, center, end or nearest).
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": {
"selector": "<selector>"
},
"name": "scroll_into_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | index in inspector_pages; default the first page with a real address | |
| wait | No | seconds to wait for the page list, default 60 | |
| block | No | ||
| index | No | which match, default 0 | |
| selector | Yes | CSS selector of the element |