waitState
Wait for actual target, loading or URL state. A timeout is not permission to repeat inputs.
API 2.3.3 · Published service contract ↗
Usage
Use the typed read or action tool permitted by the selected Pass documentation. Operation: waitState. 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 | × | |
| state | string | ✓ | Values: ["attached","detached","visible","hidden","enabled","disabled","checked","unchecked","value","loaded","url"] |
| value | string | × | |
| url | string | × | |
| exact | boolean | × | |
| timeoutMs | integer | × | |
| workSessionId | string | × |
{
"type": "object",
"properties": {
"selector": {
"type": "string",
"maxLength": 2000
},
"ref": {
"type": "string",
"maxLength": 250
},
"frameId": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647
},
"state": {
"type": "string",
"enum": [
"attached",
"detached",
"visible",
"hidden",
"enabled",
"disabled",
"checked",
"unchecked",
"value",
"loaded",
"url"
]
},
"value": {
"type": "string",
"maxLength": 2000
},
"url": {
"type": "string",
"maxLength": 2000
},
"exact": {
"type": "boolean"
},
"timeoutMs": {
"type": "integer",
"minimum": 0,
"maximum": 20000
},
"workSessionId": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"state"
],
"additionalProperties": false
}Output
Output is operation- and device-dependent. Read the selected Pass’s current documentation and inspect the returned envelope.