scroll
Scroll the page/container by x/y pixels, set absolute position, or bring one explicit element into view with toElement.
API 2.3.3 · Published service contract ↗
Usage
Use the typed read or action tool permitted by the selected Pass documentation. Operation: scroll. A target tabId is required.
Use sym_pass_docs for the chosen Pass. Only its live supported operations and current capabilityRevision are callable.
Operation arguments
| Field | Type | Required | Description |
|---|---|---|---|
| selector | string | × | |
| ref | string | × | |
| frameId | integer | × | |
| x | number | × | |
| y | number | × | |
| absolute | boolean | × | |
| toElement | boolean | × | |
| workSessionId | string | × |
{
"type": "object",
"properties": {
"selector": {
"type": "string",
"maxLength": 2000
},
"ref": {
"type": "string",
"maxLength": 250
},
"frameId": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647
},
"x": {
"type": "number",
"minimum": -1000000,
"maximum": 1000000
},
"y": {
"type": "number",
"minimum": -1000000,
"maximum": 1000000
},
"absolute": {
"type": "boolean"
},
"toElement": {
"type": "boolean"
},
"workSessionId": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [],
"additionalProperties": false
}Output
Output is operation- and device-dependent. Read the selected Pass’s current documentation and inspect the returned envelope.