wait_for_text
Wait until specified text appears anywhere on the page, ideal after actions that load dynamic content like success messages. Optionally set a timeout to prevent indefinite waiting.
Instructions
[Agent Browser] Wait for specific text to appear anywhere on the page. Use after actions that trigger dynamic content (e.g., "Loading complete", "Success"). More reliable than wait() for async operations with known completion text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "wait_for_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| hints | No | ||
| message | No | ||
| success | No | ||
| suggestions | No |