extract_element_data
Extract text or HTML attributes from any page element using CSS selectors for precise data retrieval from webpages.
Instructions
Extract text content or HTML attributes from page elements using CSS selectors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab ID (optional) | |
| action | Yes | Extraction type | |
| selector | Yes | CSS selector | |
| attributeName | No | Attribute name (Required for action="attribute") |