wait_for
Waits until specified text or a CSS selector appears on a page, or delays for a set number of seconds.
Instructions
Wait until text or a CSS selector appears on the page, or just for a number of seconds.
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": {
"tabId": "<tabId>"
},
"name": "wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| tabId | Yes | Tab ID, from tabs_list or tab_create | |
| seconds | No | Timeout (or plain wait if no text/selector), default 10, max 30 | |
| selector | No |