Help Centre › Building Processes
This article describes the RPA Browser functionality to close the current browser window.
For a full list of available functions, please read BROWSER functions.
Description
The BROWSER close function allows you to close the current browser window, similar to clicking the close button in a standard web browser.
Setting it up
To use the BROWSER close function, follow these instructions:
{{popups:rpas/add:action=browser-close}}
Once on a process map:
- Navigate to the process where you would like to add the BROWSER close function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item, which will make a new form appear
- From here you can select the BROWSER close option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Tab | Yes | Number | 1 | The tab number to close |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| Browser not open | No browser session is active |
| Tab not found | The specified tab number does not exist |
Tips
- Tab numbers start at 1
- Closing the last tab closes the browser