snapshot
Capture a structured text representation of visible Electron app elements with numbered references for direct interaction, eliminating selector-guessing round-trips.
Instructions
Return a structured text representation of the visible page with numbered refs. Each interactive or labelled element gets a [ref] number that can be passed to click, type, hover, get_text, and other tools instead of a selector — eliminating selector-guessing round-trips. Call this FIRST before interacting with a page to see what is on screen. The snapshot is an accessibility-tree-based representation similar to Playwright MCP's browser_snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Optional root selector. If given, only snapshot that subtree. |