scroll_into_view
Scroll elements into view using CSS selectors for automated Electron app testing and interaction.
Instructions
Scroll the first element matching a selector into view if needed. Safe to call even if the element is already visible.
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 |
|---|---|---|---|
| selector | Yes | ||
| timeoutMs | No | Default 5000. |