wait_for
Pause Chrome automation until a selector or text appears or disappears, using timeouts and frame options to continue only when content is ready.
Instructions
Wait for a selector or text to appear/disappear.
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": "wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gone | No | ||
| tabId | No | Tab id (default: agent's tab) | |
| frameId | No | Frame id from frames_list | |
| selector | No | ||
| allFrames | No | Act on the first match in ANY frame (the element may be in an iframe) | |
| timeoutMs | No | ||
| textContains | No | ||
| failOnAuthWall | No | Error with [AUTH_REQUIRED] if this lands on a sign-in wall (expired session) |