safari_wait_for
Wait for a specific element or text to appear on a Safari page before continuing automation. Prevents race conditions in browser workflows.
Instructions
Wait for an element or text 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": "safari_wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to wait for | |
| receipt | No | Tab receipt from safari_new_tab — pins this call to that tab (survives reconnects/subagents) | |
| timeout | No | Timeout in ms (default: 10000) | |
| selector | No | CSS selector to wait for |