camofox_query_selector
Query a CSS selector in the live DOM and return element details or a specific attribute. Enables targeted inspection without writing raw JavaScript. Requires API key.
Instructions
Query a CSS selector in the live DOM and return its element details or a specific attribute. Use this for targeted inspection without writing raw evaluate_js. Requires CAMOFOX_API_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID from create_tab | |
| selector | Yes | CSS selector to query | |
| attribute | No | Optional attribute name to return instead of the full element payload |