Wait for the page
page_wait_forWaits for a selector to become visible or hidden, for specific text to appear, or for a fixed delay (up to 30 seconds), so browser automation can synchronize with page changes.
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 |