Handling JS alerts in katalon

I have a javascript confirm box pop up which is declining everytime when I run it over lamb bdatest, because of this my tests are failing. How to fix this ? When I run the test locally, it runs fine.

1 Like

The default behavior of Katalon is to dismiss the pop-up alert (confirm box) and notify.

In order to take manual control over those pop-ups, you can set a new desired capability of ‘unexpectedAlertBehaviour’ to ‘ignore’.

1 Like