Get HTML Element
Gets a specific element from a given HTML.
This activity retrieves a specific element from a user-specified HTML code based on the given XPath.
Input
Input:
String ArgumentRequiredSet HTML as input to a variable.XPath:
String ArgumentRequiredInput the XPath of the element to be read.Index:
Integer ArgumentSpecifies the index from which the HTML element is to be retrieved. Used with ModeAtIndex.Decode Html:
Boolean ArgumentSpecifies 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.
Output
Result:
String VariableStores the values of the given HTML element in the specified String variable
Last updated