Dismiss Popup

This is a pre-built Action located under the @BrowserPopUp Element, instructs the Avo Assure to dismiss a browser pop-up message and save the result in the dynamic variable.

Syntax

Input: N/A

Argument
Description

N/A

Not Applicable

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

Argument
Description

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

The dynamic variable holds the status as True or False.

Example

Closes or dismisses an active popup or alert on the web page.

The Dismiss Popup action does not take any value in the Input Value column and attempts to close the currently displayed popup or alert. The status of the operation is stored in the {Dismisspopup} variable, with the following possible values:

  • True – If the popup is dismissed successfully.

  • False – If dismissing the popup fails or an error occurs.

Last updated

Was this helpful?