browser_wait_for
Pauses browser automation until specified text, URL, or element state conditions are met, helping synchronize actions with page changes.
Instructions
Wait until all supplied text, URL, and ref-state conditions are true.
text and url use case-insensitive substring matching. state is
applied only when ref is supplied. At least one condition is required.
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 |
|---|---|---|---|
| ref | No | ||
| url | No | ||
| text | No | ||
| state | No | visible | |
| session_id | No | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |