wait_for
Polls the page DOM until a CSS selector or visible text appears, or until a timeout is reached. Use it to sync automation steps with dynamic page content.
Instructions
Poll the DOM until a CSS selector or visible text appears (or timeout)
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 |
|---|---|---|---|
| ref | No | ||
| text | No | ||
| selector | No | ||
| timeout_ms | No | ||
| interval_ms | No |