Get Element Property
Returns a specific property of specified element.
Category: Web Scraping & Data Extraction · Group: Web · Activity name: GetHtmlElementProperty

Example
outputVariable = GetHtmlElementProperty("<selector>", "<property>", iframeSelector="<iframeSelector>", iframeSelectors=[])
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Selector | string | Yes | CSS selector or XPath to identify the HTML element. | |
| iFrame Selector | string | CSS selector or XPath to locate the iframe containing the target element. Leave empty if the element is not inside an iframe. | ||
| iFrame Selectors | array | An ordered array of CSS selectors or XPaths to locate nested iframes containing the target element. Provide selectors in order from outermost to innermost iframe (e.g., ['#parent-frame', '.child-frame'] for an element inside a child iframe that's within a parent iframe). Leave empty if the element is not inside any iframes. | ||
| Property | string | Yes | The property of the element that will be stored in your variable. |
Outputs
| Name | Type | Description |
|---|---|---|
| outputVariable | string | Specifies the name of the variable that will store the property value of the element. |