browser_wait_for
Pause browser automation until a CSS selector reaches the desired state or a delay passes, synchronizing with asynchronous UI changes in single-page apps.
Instructions
Wait for selector state or a fixed delay on the active page. Use this for SPA flows where UI updates are asynchronous.
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 |
|---|---|---|---|
| state | No | visible | |
| selector | No | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |