Wait For
wait_forPauses browser automation until a selector, text, URL pattern, timeout, page load state, or network idle condition is met.
Instructions
Wait for selector, text, URL regex, timeout, load state, or network idle.
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": {
"kind": "<kind>"
},
"name": "wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| state | No | ||
| value | No | ||
| pageId | No | Page id. Defaults to the active page. | |
| timeoutMs | No |