scroll_to
Scroll to a specific element or position in Safari using a CSS selector or X/Y coordinates, with configurable scroll behavior for web automation, testing, and debugging purposes.
Instructions
Scroll to a specific element or position
Input Schema
Name | Required | Description | Default |
---|---|---|---|
behavior | No | Scroll behavior | |
selector | No | CSS selector to scroll to | |
x | No | X coordinate to scroll to | |
y | No | Y coordinate to scroll to |
Input Schema (JSON Schema)
{
"properties": {
"behavior": {
"description": "Scroll behavior",
"enum": [
"auto",
"smooth"
],
"type": "string"
},
"selector": {
"description": "CSS selector to scroll to",
"type": "string"
},
"x": {
"description": "X coordinate to scroll to",
"type": "number"
},
"y": {
"description": "Y coordinate to scroll to",
"type": "number"
}
},
"type": "object"
}