dom_snapshot
Retrieve structured layout data like bounding boxes, computed styles, paint order, and colors for a specific element. Use this when view_page cannot answer spatial or visual property questions.
Instructions
Structured layout data: bounding boxes, computed styles, paint order, colors. Refs match view_page. Use ONLY for spatial questions view_page cannot answer (is A above B? what color?). For element discovery or text: use view_page. For pure visual verification: use capture_image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref (e.g. 'e42') to get subtree snapshot for |