browser_wait_for
Pauses browser automation until specified text appears or disappears, or a set number of seconds passes, helping synchronize actions with dynamic page content.
Instructions
Wait for text to appear, text to disappear, or a specified number of seconds in the target session.
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 |
|---|---|---|---|
| text | No | Text to wait for to appear on the page. | |
| time | No | Time to wait in seconds. | |
| textGone | No | Text to wait for to disappear from the page. | |
| sessionId | No | Optional target browser session ID. If omitted, uses the currently active session (or auto-launches one). | |
| timeoutMs | No | Timeout in milliseconds (default: 15000). |