Get HTML Element
Gets a specific element from a given HTML.
Last updated
Gets a specific element from a given HTML.
Last updated
This activity retrieves a specific element from a user-specified HTML code based on the given XPath.
Input: Required
Set HTML as input to a variable.
XPath: Required
Input the XPath of the element to be read.
Index:
Specifies the index from which the HTML element is to be retrieved. Used with Mode AtIndex
.
Decode Html: Specifies whether to apply text preprocessing to decode Html to convert Html entities on the Html input.
Method: Select the method to retrieve the value. First, select the value from the first occurrence of the key. All retrieves all key values as a collection. These are the available options.
First
- The first occurrence of the values of the given HTML attribute is selected.
AtIndex
- The values of the given HTML attribute at the specified index are selected.
All
- All the values of the given HTML attribute are selected.
Result: Stores the values of the given HTML element in the specified variable