get_page_html
Retrieve raw HTML of page elements with CSS selectors, or full page HTML, to inspect component structure and content.
Instructions
Return raw outerHTML of matching elements, or full page HTML if no selector. Useful for inspecting component structure. Standard CSS selectors only — Playwright-specific pseudo-classes (:has-text, :visible) are not supported here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | CSS selector (optional — omit for full page HTML) | |
| max_length | No | Max characters to return (default: 50000) | |
| session_id | Yes | Session ID |