scrollTo
Scroll to a webpage element by CSS selector to trigger lazy loading and test visibility. Choose auto or smooth scrolling behavior.
Instructions
Scroll to element. For lazy loading and visibility testing.
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": "scrollTo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| behavior | No | Behavior (default: auto) | |
| selector | Yes | CSS selector |