There is a JavaScript popup on my application which is dismissing the popup every time I run a test. How can I accept the pop up?

I am using Katalon for my test scripts and there is a JavaScript popup on my application which is dismissing the popup every time I run a test. How can I accept the pop up instead of dismissing it ?

Hi Junior,

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’.

unexpectedAlertBehaviour: ignore