browser_wait_for
Pause execution until a timeout elapses or a page element meets a specified state (attached, detached, visible, hidden) via selector or reference, including inside iframes.
Instructions
Wait for time or for selector/ref state. If no selector/ref, waits timeout 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_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| state | No | ||
| timeout | No | ||
| selector | No | ||
| frameSelector | No | Optional iframe CSS selector; selector/ref resolve inside it. |