Wait for condition or delay
browser_waitWaits for a CSS selector or text to reach a visible, hidden, attached, or detached state, or pauses for a fixed delay up to 30 seconds.
Instructions
Wait for a CSS selector or text to reach a state (visible, hidden, attached, detached), or wait for a fixed number of milliseconds.
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 |
|---|---|---|---|
| ms | No | Fixed delay in milliseconds (0-30000). | |
| text | No | Visible text substring to wait for. | |
| state | No | Target state when selector or text is given (default 'visible'). | |
| tabId | No | Controlled tab id. | |
| selector | No | CSS selector to wait for. | |
| timeoutMs | No | Maximum time to wait for selector/text condition in milliseconds (default 10000, max 30000). |