This content applies solely to Appian RPA, which must be purchased separately from the Appian base platform. |
The Browser actions empower a robotic process to open and interact with web browsers. Through these actions, you can navigate to a URL and interact with the web page just as a human would: click on the page controls, select options, enter values in text fields, retrieve HTML items, and more.
This page describes how to integrate Browser actions into your robotic process, which provide an easier and more robust development experience.
If you need to extend Appian RPA capabilities, you can use Java to create workflow libraries for robotic processes.
To make robotic process development even faster, you can use Appian RPA's task recorder to record common browser actions and automatically add them to the workflow.
Browser actions require Selenium to work properly and interact with browsers.
Appian can only update web drivers automatically when the robotic process uses Chrome, Firefox, or Edge. If using Edge (IE Mode) or Opera, you will need to add and maintain the web driver support file manually.
Instead of having to manually download and add web drivers to your support files, Appian can automatically maintain Selenium web drivers for you. This option is turned off by default.
With this option selected, Appian will automatically provide the necessary web drivers for the browser you are using in your robotic processes and the task recorder. When you allow Appian to add and update web drivers automatically, you avoid the common problem of having a web driver go out of date when the corresponding browser updates.
To allow Appian to automatically provide web drivers:
That's it! With this option selected, there isn't anything else to configure.
This area describes each of the components needed to work with the Appian RPA Browser actions:
selenium-java
, are called drivers. It is important to know this terminology to avoid confusion.Browsers: the web browsers to use in the automation. The following table summarizes browser and resource compatibility:
Windows | Mac | Linux | |
---|---|---|---|
Chrome | Supported | Supported | Supported |
Firefox | Supported | Supported | Supported |
Edge | Supported | Supported | Unsupported |
Edge (IE Mode) | Supported | Unsupported | Unsupported |
Opera | Supported | Unsupported | Unsupported |
The following image shows how all these components are connected:
Edge (IE mode) requires the Internet Explorer driver support file.
Different servers available for each supported browser:
If you are not allowing Appian to provide drivers automatically, you must add the downloaded driver to the robotic process configuration as Support Files. You must put the driver into a folder that you create with a specific name, depending on the operating system and browser, as shown below. Usually, a robotic process will only have to interact with one browser, so you don't need to upload all the files shown in the image.
Here is what the support file structure looks like for the various resource types:
Windows:
Driver paths for Windows are case insensitive. The path can begin with an upper or lowercase letter (ChromeWebDriver
or chromeWebDriver
) and the robotic process will reference both with the same result.
Mac:
Driver paths for Mac are case insensitive. The path can begin with an upper or lowercase letter (ChromeWebDriver
or chromeWebDriver
) and the robotic process will reference both with the same result.
Linux:
Driver paths for Linux are case sensitive and must begin with an uppercase letter, for example: ChromeWebDriver
. If the path doesn't begin with an uppercase letter, the robotic process won't be able to reference the support file.
Not all versions of each component are compatible with each other. We recommend that you always work with the most recent versions of the browsers and their bridge servers. In all cases, they must be compatible with the Selenium version integrated into the Appian RPA Browser actions. Visit the links below for each web browser to know what versions are supported for the rest of the components:
macos.tar.gz
rather than macos-aarch64.tar.gz
).The Browser module lets you configure how the robotic process opens and interacts with a web browser. Browser actions are listed in the Browser area of the palette.
This action closes the browser on the resource.
You can configure CONFIGURATION and AFTER COMPLETION parameters for this action.
In the CONFIGURATION section of the action pane, configure the following parameters:
In the AFTER COMPLETION area of the action pane, configure the following parameters:
This action lets you find the attribute value of one or more elements on the web page.
You can configure CONFIGURATION, OUTPUTS, and AFTER COMPLETION parameters for this action.
In the CONFIGURATION area of the action pane, configure the following parameters:
Attribute to return: Contains multiple options:
Display Name | Returns | Description |
Value | Text | The value of the "value" attribute. Many types of components may contain a "value" attribute, though selection components may find other options more in line with what they're looking for (dropdowns use either Selected dropdown options or First selected dropdown option, while checkboxes and radio buttons may use Is selected?). |
Hypertext Reference (href) | Text | The value of the "href" attribute. |
Text | Text | The text contained within an HTML tag. |
Image Source (src) | Text | The value of the "src" attribute of an image. |
Class Name | Text | The value of the "className" attribute of an element. Many types of components have this attribute, but it will typically only be extracted from visual components such as icons. |
Is Enabled? | Boolean | Returns true if the element is enabled or false if it is disabled. |
Is Displayed? | Boolean | Returns true if the element is displayed or false if it exists but is not displayed. |
Is Multiple? | Boolean | Returns true if the dropdown supports selecting multiple options or false if it does not. If this option is used on a component that is not a dropdown, it will return false . |
Is Selected? | Boolean | Returns true if the checkbox or radio button option is selected or false if it is not. |
All dropdown options | List of Maps | Each Map represents WebElement and contains three entries: index , value , and text . If the dropdown does not contain any options, returns an empty list. |
Selected dropdown options | List of Maps | Each Map represents WebElement and contains three entries: index , value , and text . If no options are selected, returns an empty list. |
First selected dropdown option | Map | Returns a Map representing WebElement containing three entries: index , value , and text . If no option is selected, returns null . |
Other | Text | Any attribute you specify. If you select this option, enter the name of the attribute you want to return in the Other attribute field. |
null
.This action returns a list. Each index in the list corresponds to the attribute value of one element. If the attribute for any element isn't found, the value at that index is null
.
In the OUTPUTS area of the action pane, configure the following parameters to store this result:
is stored as
) or add the result as a multiple-value variable (is appended to
).In the AFTER COMPLETION area of the action pane, configure the following parameters:
This browser action lets you interact with elements on the screen, based on the selection and configurations you specify.
You can configure CONFIGURATION and AFTER COMPLETION parameters for this action.
In the CONFIGURATION area of the action pane, configure the following parameters:
In the AFTER COMPLETION area of the action pane, configure the following parameters:
This action opens the browser and navigates to the specified URL. If there is a browser already open, this action will open a window/tab inside it.
You can configure CONFIGURATION and AFTER COMPLETION parameters for this action.
In the CONFIGURATION area of the action pane, configure the following parameter:
In the AFTER COMPLETION area of the action pane, configure the following parameters:
This browser action lets you initialize the browser of your choice and navigate to a URL. If a browser window is already open, this action will open a new tab in the existing window.
To open a browser window, the robotic process needs to have the corresponding browser driver as a support file.
You can use this action multiple times in a robotic process. The most recently opened browser is considered the active browser in the context of actions like Switch tab or browser.
You can configure CONFIGURATION and AFTER COMPLETION parameters for this action.
In the CONFIGURATION area of the action pane, configure the following parameters:
In the AFTER COMPLETION area of the action pane, configure the following parameters:
This action returns the title of the current window.
You can configure OUTPUTS and AFTER COMPLETION parameters for this action.
This action returns a text value.
In the OUTPUTS area of the action pane, configure the following parameters to store this result:
is stored as
) or add the result as a multiple-value variable (is appended to
).In the AFTER COMPLETION area of the action pane, configure the following parameters:
This action lets you switch the context for the web page if frames or iframes are present. Use this action to switch to the frame or iframe or navigate out of it. Note that all following actions within the browser will use the frame selected by this action.
You can configure the CONFIGURATION and AFTER COMPLETION parameters for this action.
In the CONFIGURATION area of the action pane, configure the following parameters:
In the AFTER COMPLETION area of the action pane, configure the following parameters:
This action sets the browser timeout in seconds.
You can configure CONFIGURATION and AFTER COMPLETION parameters for this action.
In the CONFIGURATION area of the action pane, configure the following parameter:
In the AFTER COMPLETION area of the action pane, configure the following parameters:
This action lets you switch to a new tab in the current browser or a new browser before proceeding. If you use a browser without tabs, this action will always open a new window. In this action, the active browser is the most recently used or opened browser. Similarly, the active tab is the most recently used tab in an open browser window.
You can configure CONFIGURATION and AFTER COMPLETION parameters for this action.
In the CONFIGURATION area of the action pane, configure the following parameter:
*
and ?
to search for the query in the window/tab title. For example, to search for a title starting with Appian
, enter Appian*
in this field.In the AFTER COMPLETION area of the action pane, configure the following parameters:
Learn how to use Browser actions in a robotic process