take_snapshot
Capture a snapshot of the DOM with stable element identifiers. Use a CSS selector to scope, and retake after page navigation to get updated state.
Instructions
Capture DOM snapshot with stable UIDs. Retake after navigation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxLines | No | Max lines (default: 100) | |
| includeAttributes | No | Include ARIA attributes (default: false) | |
| includeText | No | Include text (default: true) | |
| maxDepth | No | Max tree depth | |
| includeAll | No | Include all visible elements without relevance filtering. Useful for Vue/Livewire apps (default: false) | |
| selector | No | CSS selector to scope snapshot to specific element (e.g., "#app") |