wait_for
Pause browser automation until a specific page element appears or reaches a desired state before continuing. Pass a selector, optional state, and timeout to synchronize scripts.
Instructions
Wait for element (alias)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>"
},
"name": "wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| timeout | No | ||
| selector | Yes |