ie_html
Retrieves the HTML source of a page or specific frame, returning the document's normalized outerHTML when interacting over COM by window handle or attached tab.
Instructions
Get the HTML source of the page or of a specific frame. Over COM (target hwnd:/tab:) it is the document's outerHTML (no doctype, markup as the engine normalised it), not the original source the driver returns.
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": "ie_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| limit | 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. |