take_snapshot
Capture a DOM snapshot with stable UIDs to inspect or interact with web elements. Retake after navigation to track changes in dynamic pages.
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) |