dom_snapshot
Retrieve structured layout data—bounding boxes, computed styles, paint order, colors—to answer spatial questions like element positioning or color. Use for layout specifics when view_page cannot provide them.
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 |