API Reference

Gets data from an element (with a query selector)

Options:

OptionRequiredDescriptionExample
valuetrue(string) Element attribute (property) to fetch. Possible Values : innerHtml | image | link | text | textContent | any element attribute ( which can run element.getAttribute() in browser )text
variableNametrue(string) A Name to store the fetched values in.fetchedData
querySelectortrue(string) Query selector of the element to get data from.div.main-container
parserfalse(string) Parse output data to meaningful data. Possible Values: Numbers | Email | Emails | URL | URLs | Split by Comma | Split by Space.Split by Space

Example 1: Gets text from an element

{
  "action": "get",
  "options": {
    "value": "text",
    "variableName": "fetchedData",
    "querySelector":"div.main-container"  
  }
}

Example 2: Extracts all the numbers from the text of an element

{
  "action": "get",
  "options": {
    "value": "text",
    "variableName": "fetchedData",
    "querySelector":"div.main-container",  
    "parser":"Numbers"
  }
}