browser_wait
Waits until a CSS selector or visible text appears, enabling scripts to synchronize with page updates without polling. Use browser_eval for JavaScript predicates.
Instructions
Wait for a CSS selector or visible text (read-only; for JS predicates use browser_eval).
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": "browser_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Tab index string (e.g. '0'), targetId, or URL/title substring. | |
| text | No | Visible text substring. | |
| frame | No | Iframe #fN, id, URL substring, or 'any'. | |
| timeout | No | Timeout ms (default 15000). | |
| selector | No | CSS selector. |