Wait for the page
browser_waitWait until text appears, text disappears, or a CSS-selected element becomes visible, so automation handles delayed content and spinners; returns a clear timeout error if unmet.
Instructions
Wait until text appears, text disappears, or an element becomes visible — for pages that load content after the fact (search results, spinners, SPAs). With no condition, waits timeoutMs. Fails with a clear message on 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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Wait until this text is on the page. | |
| tabId | No | ||
| selector | No | Wait until an element matching this CSS selector is visible. | |
| textGone | No | Wait until this text is gone (e.g. "Loading…"). | |
| timeoutMs | No | Give up after this long (default 10000, max 60000). |