Inspect DOM
domQuery browser page elements and return metadata, HTML, text, attributes, computed styles, rects, or counts. Supports open shadow roots via '>>>'.
Instructions
Query DOM elements and return metadata, HTML, text, attributes, computed styles, rects or counts. Supports open shadow DOM with the ">>>" separator, e.g. "my-app >>> button".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| ref | No | ||
| limit | No | ||
| tabId | No | ||
| xpath | No | ||
| action | No | query | |
| frameId | No | ||
| timeout | No | ||
| selector | No | ||
| maxLength | No | ||
| properties | No | CSS properties to return for action="styles". | |
| includeHtml | No |