Skip to main content

GUI: Exit Browser

Description

Exit Browser closes the entire browser session started by the Start Browser step. Use this step at the end of a web automation workflow to release browser resources and prevent stale sessions from blocking future runs. When a workflow runs on an agent, the browser closes automatically after the workflow ends, but when you run from Process Studio, you must add this step explicitly to close the browser. If the browser terminates abnormally, use the Clear All Browser Instances option in Process Studio before starting a new session.

Note

When a GUI Automation workflow is run on an agent the entire browser session implicitly closes after the end of the workflow even if Exit browser is not put at the end of the workflow. However, when a GUI Automation workflow is run from Process Studio, the entire browser session does not close implicitly. Browser terminates abnormally then you need to clear browser instance before you can start a new browser. Navigate to Tools -> Clear All Browser Instances:

Clear All Browser Instances menu option in Process Studio

Configurations

Field NameDescription
Step NameName of the step. The name must be unique in a single workflow.
The data type is string, and the field is mandatory.
Web Browser NameYou can select any one web browser from the given list.
Note: You must select the same web browser, which was selected in the Start Browser step.