# Navigate Browser

> `UiPath.UIAutomationNext.Activities.NNavigateBrowser`

`UiPath.UIAutomationNext.Activities.NNavigateBrowser`

## Description

Allows basic navigation of the browser.

This activity must be added inside a [Use Application/Browser](https://docs.uipath.com/activities/other/latest/ui-automation/n-application-card) activity.

To use this activity outside a **Use Application/Browser**activity, you need to provide an **Input element**.

## Project compatibility

**Windows - Legacy** | **Windows** | **Cross-platform**

## Windows and Cross-platform configuration

* **Action** - Select from the drop-down menu the action to be performed in the web browser:
  + **Go Back** - Navigates back in the current browser tab.
  + **Go Forward** - Navigates forward in the current browser tab.
  + **Refresh** - Reloads the web page that is currently displayed in the browser.
  + **Close Tab** - Closes the current browser tab.

Properties panel

### Options

* **Continue on error** - 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.

### Input/Output

* **Input element** - The UI element on which the activity is executed, stored in an `UIElement` object. This field supports only `UIElement` objects. This object can be obtained from the **Output Element** property field of other UI Automation activities.

### Timings

* **Delay before** - Delay (in seconds) between the time the previous activity is completed and the time this activity begins performing any operations. The default value is 0.2 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
* **Delay after** - Delay (in seconds) between the time this activity is completed and the time the next activity begins any operations. The default value is 0.3 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
* **Timeout** - Specify the amount of time (in seconds) to wait for the activity to be executed before throwing an error. The default value is 30 seconds.

## Windows - Legacy configuration

* **Action** - Select from the drop-down menu the action to be performed in the web browser:
  + **Go Back** - Navigates back in the current browser tab.
  + **Go Forward** - Navigates forward in the current browser tab.
  + **Go Home** - Navigates to the home or start page in the current browser tab.
  + **Refresh** - Reloads the web page that is currently displayed in the browser.
  + **Close Tab** - Closes the current browser tab.

:::note
Due to a software limitation, the **Go Home** action navigates to the Home page that was set in the browser settings only in **Internet Explorer**. For other browsers, the activity navigates to `` \`https://www.google.com\` ``.
:::

### Properties panel

#### Common

* **Continue on error** - 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.
* **Delay after** - Delay (in seconds) between the time this activity is completed and the time the next activity begins any operations. The default value is 0.3 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
* **Delay before** - Delay (in seconds) between the time the previous activity is completed and the time this activity begins performing any operations. The default value is 0.2 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
* **Display name** - The name displayed for the activity in the Designer panel. A display name is automatically generated when you indicate a target.
* **Timeout** - Specify the amount of time (in seconds) to wait for the activity to be executed before throwing an error. The default value is 30 seconds.

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level. This field supports only `Boolean` (**True**, **False**) values. The default value is **False**.

* **Action** - See **Action** in the Designer panel.
