browser_wait_for
Wait for a condition such as text, selector, load state, or time in a browser tab. Pauses automation until the condition is met.
Instructions
Wait for a condition (text, selector, load state, time, etc.)
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 | Wait for text to appear on page | |
| textGone | No | Wait for text to disappear from page | |
| selector | No | Wait for CSS selector | |
| url | No | Wait for URL to match pattern | |
| loadState | No | Wait for load state | |
| timeMs | No | Wait for specific milliseconds | |
| targetId | No | Target ID of the tab |