ie_wait_text
Polls page text until a specified substring appears or disappears, scanning all frames for slow async content and returning the matching frame plus a preview.
Instructions
Poll until a specific substring appears in the page text (for slow async content). Scans all frames unless 'frame' is given; returns which frame matched + a preview. For 'is the page loaded?' use ie_wait_ready instead.
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": {
"contains": "<contains>"
},
"name": "ie_wait_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gone | No | wait for the substring to DISAPPEAR instead of appear (e.g. a spinner) | |
| frame | No | ||
| target | No | Where to act: omit it for the session's IE driver; hwnd:<n> acts over COM on the window <n> (a modal dialog's hwnd from a NOTICE or ie_windows), tab:<n> on an attached tab. Over COM, DOM access is script, input is synthetic (script events and a timer click, not mouse or keyboard input; keys are posted window messages) and only id, name, tag, class, link_text and (documentMode 8+) css locators work. | |
| timeout | No | max seconds (default 45) | |
| contains | Yes | ||
| interval | No | poll seconds (default 2) | |
| case_insensitive | No |