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