browser_get_outer_html
Debug browser rendering failures by retrieving raw outerHTML of a DOM element or the full document root. Use when semantic analysis returns empty to diagnose page rendering issues.
Instructions
DEBUG FALLBACK. Get the raw outerHTML of a DOM element by backendNodeId, or the entire document root if no ID is specified. Use this when get_semantic_surface returns an empty tree — it helps diagnose whether the page actually rendered.\n\nWARNING: Raw HTML is token-expensive. Always prefer get_semantic_surface for page understanding. Use this tool ONLY for debugging perception failures.\n\nThe output is truncated to maxLength characters (default: 5000) to protect your context window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxLength | No | Truncate HTML output to this many characters (default: 5000). Set higher for full inspection. | |
| frameIndex | No | Optional frame index to force context (e.g., 0 for main frame, 1 for first iframe, etc.) | |
| backendNodeId | No | Backend node ID of the element. Omit to get document.documentElement.outerHTML. |