Types of Automated Actions

Hero_Go has a wide variety of different types of automated actions it can record.

Left-Click Recorded Actions

When using the left mouse click within a Chrome browser window, the following actions can be recorded in Hero_Go.

Open window

The first click within a window in the Chrome web browser records opening the current URL. When this automation plays, a new browser tab is opened to the recorded URL.

Click

Additional clicks within the window record clicking on hyperlinks and advance the automation to the selected link.

Open

Click within a new window to perform the Open action. The Open action opens a new tab in your browser set to that URL.


Right-Click Recorded Actions

When using the right mouse click within a Chrome browser window, the following action options are available. 

Extract data

Automates the action of extracting selected data in memory.

In record mode:

  1. Select text on a page.
  2. Right-click and select Extract data from the menu.
  3. Enter a field name assigned to this data.



  4. Click Add.

The data has now been extracted and assigned to the specified field name. 

In Hero_Go, this action is labeled as Extract.

Download

Automates the action of downloading selected data.

In record mode:

  1. Select a link that connects to a downloadable file.
  2. Right-click and select Download from the menu.

When the automation runs, the selected file is downloaded to your Chrome download's folder.

The current types of files supported for download are:

  • .pdf
  • .doc
  • .xls
  • .ppt
  • .pub
  • .jpg
  • .gif
  • .bmp
  • .png

In Hero_Go, this action is labeled as Download.

Fill form input

Automates the action of filling in an input form from previously extracted data.

In record mode:

  1. Right-click within an input form and select Fill form input from the menu.
  2. Select a field name from the list.



  3. Click Save.

When running the automation, the specified field populates this input form.

In Hero_Go, this action is labeled as Fill.

Loop over similar

Automates the action types Open, Click, Extract, or Download over all similar elements in the browser window.

In record mode:

  1. Select text on a page.
  2. Right-click and select Loop over similar from the menu.
  3. A pop-up appears asking if pagination is needed.
    If the automated loop you want to create covers multiple browser pages, click on the "next" element in the window. 



    When the automation runs, the loop continues until the automation can no longer find the looped element. At this time it searches for and clicks the specified "next" element to continue running the loop on the following page.
    The loop continues until the automation finds neither the automated action element nor the "next" element.

  4. Select the action to perform. (Open, Click, Extract, or Download)



  5. Click Add.

Additional fields from the selected action type may apply. E.g., Selecting Extract prompts you to enter a field name for the extracted data. 

Show dialog

Create a pop-up message during a specific part of the automation.

In record mode:

  1. Right-click and select Show dialog.
  2. Enter text to display in the message field.



  3. Click Add.

Make reference

Making a reference is similar to the the Open action but requires manual input. 

In record mode:

  1. Right-click and select Make reference.
  2. Enter text to direct the user to open the necessary browser window.



  3. Click Save.

When this action automates, it prompts the user to open and click anywhere in the necessary page window where additional actions are performed. 

If the next action in the automation sequence requires to be on a specific page, and that page is not open, the action won't be performed.

Custom JavaScript Action

Creating custom JavaScript automated actions are supported on internal features of Hero_Go. (E.g., Hero_Go logs, API, etc...)

Creating a JavaScript action opens a sandbox on the user's computer to run the JavaScript code only within Hero_Go.


In record mode:

  1. Click on the three dots next to the text "Next action should go here" in Hero_Go's edit mode.



  2. Select Custom JavaScript.
  3. Enter your JavaScript code.
  4. Click Save.

The custom JavaScript action is now saved in your automation in the ordered position it was created.