Read and Review Automation Anywhere Documentation

Automation 360

Close Contents

Contents

Open Contents

Browser package

  • Updated: 6/14/2021
    • Automation 360 v.x
    • Build
    • RPA Workspace

Browser package

The Browser package contains actions that enable you to download files, find broken links, and launch a website. This package supports Internet Explorer, Microsoft Edge and Google Chrome browsers.

Actions in the Browser package

The Browser package includes the following actions:

Action Description
Close Closes a browser window or tab.
Note: This action is only available for the Google Chrome browser.
  • Select to close the tab, window, or all browsers:
    • Tab: Closes the selected tab. Select the tab from the list of active tabs in the Google Chrome browser or insert a window variable.

      You can use a regular expression (regex) to identify a window title. Select the regular expression either as a String or Pattern for each regular expression condition and enter the value. By default, the Window title field is case-sensitive. You can enable Case insensitive regex flag to identify a window title that is not case-sensitive.

      For example, you can enter the String value as ((\w*)-Notepad for all the window title names starting with ((\w*)-Notepad, or use Pattern such as ((\w)\s)*document-Notepad for only those window titles that match this pattern.

    • Window: Closes the window of the selected tab. Select the window from the list of active windows in the Google Chrome browser or insert a window variable.

      You can use a regular expression (regex) to identify a window title. Select the regular expression either as a String or Pattern for each regular expression condition and enter the value. By default, the Window title field is case-sensitive. You can enable Case insensitive regex flag to identify a window title that is not case-sensitive.

      For example, you can enter the String value as ((\w*)-Notepad for all the window title names starting with ((\w*)-Notepad, or use Pattern such as ((\w)\s)*document-Notepad for only those window titles that match this pattern.

    • All browsers: Closes all open browsers except the windows that contain Control Room instances.
  • Optional: In the Time out after field, enter the number of seconds the bot must wait for the browser window or tab to close before the bot fails.
    Recommended: Enter a timeout value of at least 9 seconds.
Download files Downloads and saves files from URLs.
  • Specify the URL of the file you want to download.
  • In the Save to location field, enter the location where you want to save the file.
Find broken links See Using Find broken links action.
Get source code Retrieves the source code of a web page and saves it to a string variable.
Note: This action is only available for the Google Chrome browser.
  • Select the browser tab from the list of active tabs in the Google Chrome browser or insert a window type variable.
  • Optional: In the Time out after field, enter the number of seconds the bot must wait for the browser window or tab to close before the bot fails.
    Recommended: Enter a timeout value of at least 9 seconds.
  • Optional: Select a variable to hold the action output. The Control Room shows a descriptive default variable name. If you create several output variables, subsequent variable names are appended with a -1, -2, -3, and so on to avoid duplication.
Go back Returns to a web page that you previously visited in the current tab. This action simulates clicking the browser Back option.
Note: This action is only available for the Google Chrome browser.
  • Select the tab from the list of active tabs in the Google Chrome browser or insert a window variable.
  • In the Number of steps field, enter the number of pages to go back.
  • Optional: Select the Throw an error if steps exceed history option to make the bot fail if the number entered in the previous step is greater than the number of pages visited.

    If you leave this option deselected, when the bot runs, it will return the tab to the first web page it opened.

  • Optional: In the Time out after field, enter the number of seconds the bot must wait for the browser window or tab to close before the bot fails.
    Recommended: Enter a timeout value of at least 9 seconds.
Launch website Launches the browser.
  • In the URL field, specify the website you want to open.
  • Select your browser from the following:
    • Default Browser
    • Internet Explorer
    • Microsoft Edge
    • Google Chrome

    Ensure that Internet Explorer, Microsoft Edge or Google Chrome is set as the default browser.

Note: If any browser that is not listed is set as the default browser for the device, the bot might encounter an error. When actions such as OCR and Image Recognition are used, the browser must finish rendering before the Microsoft Edge execute.
Open Opens the browser to a specific web page.
  • Select to open the web page in an existing tab, new tab, or new window:
    • Existing tab: Opens the web page in a currently open tab. Select the tab from the list of active tabs in the Google Chrome browser or insert a window variable.
      Note: This option is only available for the Google Chrome browser.

      You can use a regular expression (regex) to identify a window title. Select the regular expression either as a String or Pattern for each regular expression condition and enter the value. By default, the Window title field is case-sensitive. You can enable Case insensitive regex flag to identify a window title that is not case-sensitive.

      For example, you can enter the String value as ((\w*)-Notepad for all the window title names starting with ((\w*)-Notepad, or use Pattern such as ((\w)\s)*document-Notepad for only those window titles that match this pattern.

    • New tab: Opens the web page in a new tab. Select the tab from the list of active tabs in the Google Chrome browser or insert a window variable.
      Note: This option is only available for the Google Chrome browser.

      You can use a regular expression (regex) to identify a window title. Select the regular expression either as a String or Pattern for each regular expression condition and enter the value. By default, the Window title field is case-sensitive. You can enable Case insensitive regex flag to identify a window title that is not case-sensitive.

      For example, you can enter the String value as ((\w*)-Notepad for all the window title names starting with ((\w*)-Notepad, or use Pattern such as ((\w)\s)*document-Notepad for only those window titles that match this pattern.

    • New window: Opens the web page in a new window of a specific browser.
      Select the browser from the following options:
      • Default Browser

        Ensure that Internet Explorer, Microsoft Edge or Google Chrome is set as the default browser.

        Note: If any browser that is not listed is set as the default browser for the device, the bot might encounter an error.
      • Google Chrome
      • Internet Explorer
      • Microsoft Edge
      • Mozilla Firefox
  • Enter the link to the web page to open.
  • Optional: In the Time out after field, enter the number of seconds the bot must wait for the browser window or tab to close before the bot fails.
    Recommended: Enter a timeout value of at least 9 seconds.
Run JavaScript Executes JavaScript in a web page.
Note: This action is only available for the Google Chrome browser.
  • Select the browser tab from the list of active tabs in the Google Chrome browser or insert a window type variable.

    You can use a regular expression (regex) to identify a window title. Select the regular expression either as a String or Pattern for each regular expression condition and enter the value. By default, the Window title field is case-sensitive. You can enable Case insensitive regex flag to identify a window title that is not case-sensitive.

    For example, you can enter the String value as ((\w*)-Notepad for all the window title names starting with ((\w*)-Notepad, or use Pattern such as ((\w)\s)*document-Notepad for only those window titles that match this pattern.

  • Choose one of the following options:
    • In the Import existing file option, select an existing JavaScript file.
      Note: If you are uploading a script from a file on your desktop, the file and any dependencies must be in a standalone folder. When you select a file for upload, all files and folders at the same folder level are uploaded.
    • In the Manual input option, enter the JavaScript.
  • Optional: In the Time out after field, enter the number of seconds the bot must wait for the browser window or tab to close before the bot fails.
    Recommended: Enter a timeout value of at least 9 seconds.
  • Optional: Select a variable to hold the action output. The Control Room shows a descriptive default variable name. If you create several output variables, subsequent variable names are appended with a -1, -2, -3, and so on to avoid duplication.
Send Feedback