capture_page
Snapshot a page's visible links, buttons, inputs, and headings with stable refs (e1, e2) and selectors for click, type, select, or scroll actions instead of guessing selectors.
Instructions
Snapshot the page's visible interactive elements and headings (links, buttons, inputs, selects, textareas, ARIA roles, h1-h4) with stable refs e1, e2, ... and a reusable selector for each. Pass a ref to click, type, get_text, select_option, interact, or scroll instead of guessing a selector. Refs belong to this snapshot, so capture again after navigation or major page changes. Prefer this over screenshots or get_page_source to understand what is on the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxElements | No | Maximum elements to return, 10-500 (default 200). Lower it on very large pages to keep the result small. |