camofox_get_page_html
Retrieve the final rendered HTML from a live DOM, including SPA and custom-component sites. Optionally extract HTML of a specific element using a 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 |