wait
Pauses browser automation until one condition occurs: text appears/disappears, element state changes, URL matches, page load completes, or a duration passes; timeout errors name the condition.
Instructions
Wait for exactly one condition: text (appears), text_gone, target with state (visible default, hidden, attached, detached), url (substring or /regex/), load_state, or ms (unconditional, at most 30000). On timeout the error names the condition.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | ||
| tab | No | Tab id such as "t3"; default is the active tab | |
| url | No | ||
| text | No | ||
| state | No | ||
| target | No | ||
| text_gone | No | ||
| load_state | No | ||
| timeout_ms | No | Timeout in ms; default is the configured action/navigation timeout |