wait_for
Pauses automation until specific text or CSS selector appears on a webpage, ensuring reliable interaction timing for human-like browsing behavior.
Instructions
Wait for text or selector to appear on the page
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 |
|---|---|---|---|
| pageId | No | Page ID (uses active page if not specified) | |
| text | No | Text to wait for | |
| selector | No | CSS selector to wait for | |
| state | No | visible | |
| timeout | No | Timeout in milliseconds |