browser_get_dom_snapshot
Capture a compact DOM snapshot for AI agents to inspect page structure, filter by selector, and control depth for frontend debugging.
Instructions
Capture a compact agent-friendly DOM snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | ||
| selector | No | ||
| sessionId | No | Browser session ID; optional when exactly one session exists. | |
| includeText | No | ||
| includeAttributes | No |