Popup makes navigateToUrl useless

I have a problem that when using “navigateToUrl” command it shows up browser popup “Leave site? Changes you made may not be saved”. This started happening today (until now it worked fine) on Chrome and Firefox. Is there an easy way to get around this?

Search the JavaScript used by the page - if you find onbeforeunload/beforeunload then it’s not your tests or Katalon that’s the issue, it’s a change in the AUT.