UI Alert (sui:alert)

UI Alert (sui:alert)

Switch the driver instance into available alert and then interact with alert dialog using method accept or dismiss.

Released in

3.0.0

Usage

<sui:alert method=""!/>

! - mandatory 

Supported methods

  1. accept

  2. dismiss

Example

Method

Example

Behavior

Method

Example

Behavior

accept

<sui:alert method="accept"/>

Switches into alert and clicks "Accept" or "Ok" button.

dismiss

<sui:alert method="dismiss"/>

Switches into alert and clicks "Cancel" or "No" button.