browser_wait_for
Waits until specified page conditions hold—text appears, selector matches, URL contains a value, element disappears, or a set time passes—so browser automation proceeds only when ready.
Instructions
Wait until every given condition holds (default 5 s). Navigating actions already wait.
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_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| js | No | Becomes truthy | |
| ms | No | Wait this long | |
| url | No | URL contains this | |
| gone | No | This selector is gone | |
| text | No | Text appears | |
| selector | No | Selector matches | |
| snapshot | No | Snapshot after the action | |
| timeout_ms | No | Default 5000 |