Close Browser

This pre-built Action located under the @Browser Element Name instructs Avo Assure Client to close the browser last opened by the tool.

This action helps maintain a clean environment by closing leftover browser sessions. it is crucial for running multiple automated tests or CI pipelines. Incorporate "Close Browser" in the Teardown step or at the end of each test to ensure effective resource cleanup

Syntax

Input: N/A

Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

Usecase/Example

Scenario: Closing the Browser Window After Test Execution

After completing the necessary actions in user automated test, you require to close the browser to ensure proper resource cleanup and prevent any unwanted browser windows or sessions from remaining open. The Close Browser Action is used to close the currently active browser window at the end of a test or a series of tests.

After performing a series of test steps, you need to ensure that the browser is closed after the test completes.

Expected Result

The browser window should close, ensuring no open browser sessions remain after the test execution.

Output

The Close Browser Action is closing the browser which is opened by the tool while executing.

Last updated

Was this helpful?