wait_for
Pause automation until a CSS selector or text reaches the specified state: visible, hidden, attached, or detached. Set a timeout to handle delays and improve reliability of browser automation.
Instructions
Wait for element/text to appear or 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 |
|---|---|---|---|
| text | No | Text to wait for | |
| state | No | visible | |
| timeout | No | ||
| selector | No | CSS selector |