Wait for the page
browser_wait_forWait until text appears or is gone, the URL matches, or a time passed, then return the page. Actions already wait: use it only when something must still appear. text matches visible text ignoring case and spacing; with a condition, time_ms is its longest wait. A timeout answers wait_timeout.
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 |
|---|---|---|---|
| url | No | Wait until the URL contains this; * is a wildcard. | |
| text | No | Wait until this text is on the page. | |
| tab_id | No | A result's tab_id. | |
| time_ms | No | Alone: a plain delay in ms, the last resort. With a condition: its longest wait. | |
| text_gone | No | Wait until this text is gone. | |
| session_id | No | Only with several sessions. | |
| timeout_ms | No | Give up after this many ms, default 10000. |