Handle Alerts
Simulate accepting, dismissing, and closing modal alert dialogs.
Command | Examples | Explanation |
---|---|---|
accept alert | accept alert | Simulates clicking the "OK" button on an alert. |
dismiss alert | dismiss alert | Simulates clicking the "Cancel" button on an alert, if there is one, or closing the dialog window. |
close alert | close alert | Same as dismiss alert |