ie_wait_element
Waits for a page element to appear or disappear before interacting with slow-rendering content, preventing failed actions on not-yet-ready UI.
Instructions
Wait for an element (by/value) to appear — or, with gone=true, to disappear. Use before acting on slow-rendering content.
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": {
"by": "<by>",
"value": "<value>"
},
"name": "ie_wait_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| gone | No | wait for it to disappear instead | |
| frame | No | ||
| value | Yes | ||
| 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 20) | |
| interval | No |