Subscribe

UiPath Activities

The UiPath Activities Guide

Open Browser

UiPath.Core.Activities.OpenBrowser

A container that enables you to open a browser at a specified URL and execute multiple activities within it.

In the Body of the Activity

In the designer panel, the activity is presented as a container, in which you can add activities to interact with the specified browser.

The URL field allows you to provide the link to which the browser opens.

Clicking the new sessionnew session button next to the URL field opens a new browser session with the current configuration settings. This makes it possible to use a new browser user data set while keeping the existing configuration. It can be especially useful when you automate browsers in Picture-in-Picture.

A sequence is also present, which is where the actions performed on the browser are added.

Properties

Common

  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

📘

Note:

If this activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.

  • DisplayName - The display name of the activity.

Input

  • BrowserType - Choose the type of browser you want to use. The following options are available: IE, Firefox, Chrome, Edge.
  • Url - The URL that you want to open in the specified browser.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Options

  • CommunicationMethod - Choose the communication method. The following are available: Native, WebDriver.
  • Hidden - Open a hidden browser.
  • NewSession - Starts a new session of the selected browser. This option is specific to Internet Explorer.
  • Private - Open a private/incognito session.
  • UserDataFolderMode - The UserDataFolderMode you want to set. It is used to start the browser with a specific user data folder.
  • UserDataFolderMode.Automatic - Picture In Picture mode uses a different folder than the default mode, automatically generated if UserDataFolderPath is not set.
  • UserDataFolderMode.DefaultFolder - Uses the default browser folder, no matter if it runs in the main or PIP session.
  • UserDataFolderMode.CustomFolder - Uses the folder specified in UserDataFolderPath or an auto generated path if UserDataFolderPath is not set.
  • UserDataFolderPath - The user data folder that the browser will use. Defaults to %LocalAppData%\UiPath\PIP Browser Profiles\BrowserType if not set.

Output

  • UiBrowser - The result of the activity as a UiBrowser object. Stores all the information regarding your browser session. Only Browser variables are supported.

Example of using the Open Browser activity

Here you can see how the Open Browser activity is used in an example that incorporates multiple activities.

Updated about a month ago


Open Browser


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.