WebUI.acceptAlert(FailureHandling.CONTINUE_ON_FAILURE) error


#1

I’m looking for a specific element around the loop for a few pages stored in an array.
However, an error occurs when you access the page where alert is executed.

WebUI.delay (30)
WebUI.acceptAlert (FailureHandling).CONTINUE_ON_FAILURE)

The page without an alert is working normally.
An error occurs on the page where the alert is executed.
can you help me?


#2

In this case, use FailureHandling.OPTIONAL. If no alert is present, it throws only WARN, not ERROR.