page_map
Analyze page structure with headings, landmarks, forms, links, and interactive elements. Scope to a specific modal or dialog to inspect its content without background noise.
Instructions
Get a comprehensive structural map of the current page including headings (h1–h6 with section sizes), landmark regions, forms with field details, links (text + href, capped at 50), and interactive elements (buttons, inputs, selects with state and @eN refs). Use to discover page structure before interacting, or with scope to inspect a specific modal/dialog without background noise. Each interactive element returns a stable @eN reference for use in click, fill_form, hover, press_key, and select_option.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | CSS selector to scope all queries within (e.g. "[role='dialog']" for modal content only, ".sidebar" for a specific region). If omitted, queries the full page. |