wait_for
Delay browser actions until specified text appears or disappears, or for a set time, enabling agents to sync with page changes.
Instructions
Wait until some text appears or disappears, or for a number of milliseconds.
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 |
|---|---|---|---|
| ms | No | ||
| tab | No | Tab handle from list_tabs, e.g. "chrome:812". Optional when only one tab is shared. | |
| gone | No | Wait for the text to disappear instead. | |
| text | No | ||
| timeout | No | Default 15000 ms. |