get_html
Extract the HTML source of a webpage or a specific element using a CSS selector. Get full page HTML or target a particular section for analysis.
Instructions
Extract HTML source from the page or a specific CSS selector. Output truncated at 50k chars.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab ID (optional) | |
| selector | No | CSS selector to extract HTML from (e.g. "div.main-content", "#login-form"). If omitted, returns full page HTML. | |
| outerHTML | No | Get outer HTML (includes the element tag itself) |