Wait for the page
page_wait_forWaits until a page element appears or disappears, specified text appears, or a set time passes, so browser automation can pause for the required UI state before continuing.
Instructions
Waits until an element appears or disappears (selector + state), until some text appears (text), or for a fixed time (ms, up to 30 s). Asks once per profile.
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": {
"profileId": "<profileId>"
},
"name": "page_wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | ||
| text | No | ||
| state | No | ||
| selector | No | ||
| profileId | Yes | ||
| timeoutMs | No |