Nexial Automation

Test Automation Platform for everyone!

X

webalert » accept()

Description

This command clicks ‘Yes’ or issues a affirmative action on the alert dialog window. The command does not require any input parameters. The text of the alert dialog, if present, will be saved to nexial.lastAlertText, which can be retrieved after this command is executed.

Example

Script:

Output:

See Also