camofox_get_page_html
Get the actual rendered HTML from the live DOM, ideal for single-page apps or custom components when snapshots are incomplete. Optionally target a specific element with 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 only when browser-server authentication is enabled.
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 |