# Open URL

Opens an address in the browser. The browser is selected from the **Browser** list on the canvas (`Chrome` or `Edge`, default `Chrome`); this selection is not in the properties panel. If the "RPA WORK - PAW Robot" extension is not installed in the browser, the activity throws an error.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `Url`     | `String` | ✅ Yes    | The address to open. Must be a full address starting with `http://` or `https://`. If empty or not a valid address, the activity throws an error. |
| `NewTab`  | `Boolean` | ❌ No     | If `True`, the address opens in a new tab in the browser's active window; if `False`, in the selected tab of the active window. Only takes effect when the address is opened through the extension (see Usage). Default: `False`. |
| `InPrivate` | `Boolean` | ❌ No     | If `True`, the browser is started with a private window (`--incognito` in Chrome, `--inprivate` in Edge) and the address opens there. If a private tab visible to the extension already exists, the browser is not started; the address is opened through the extension. Default: `False`. |
| `Maximize` | `Boolean` | ❌ No     | If `True`, the browser is started with a window that fills the screen (`--start-maximized`). Only takes effect when the browser is started by this activity. Default: `False`. |


---

### Usage

The canvas has the **Browser** list, the **Url** field and the **Get Current Url** button. **Get Current Url** writes the address in the active tab of the selected browser to the **Url** field; if the browser extension is not connected, it shows an error.

When the activity runs:

* If a tab with the same address is open, that tab is selected first.
* If the browser is open, the extension is connected and there is at least one tab of the requested type (normal or private), the address is opened through the extension. The activity waits at most 5 seconds for the page to load.
* Otherwise the browser is started with the address and the activity waits at most 5 minutes for the extension to connect. If the extension does not connect within this time, the activity throws an error.