wait_for
Pauses browser automation until a CSS selector state, page text substring, URL substring, or combined condition is satisfied; caps polling at 60 seconds.
Instructions
Wait for a CSS selector state, visible page text substring, URL substring, or combination. Clamped to 60s cap.
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_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | ||
| text | No | ||
| state | No | visible | |
| selector | No | ||
| timeout_ms | No | ||
| url_contains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |