camofox_get_page_html
Retrieve the live DOM HTML from a page, useful for single-page apps or custom components when the accessibility tree is insufficient. Optionally extract a specific element's outerHTML via CSS selector.
Instructions
Get rendered HTML from the live DOM. Use when snapshot refs are incomplete on SPA/custom-component sites or when you need the final DOM state rather than the accessibility tree. Optionally pass a CSS selector to return only that element's outerHTML instead of the full page. Requires CAMOFOX_API_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID from create_tab | |
| selector | No | Optional CSS selector to scope HTML extraction to a single element |