How Can I handle window based alert

Hi Team,

While navigating on my website I got alert about notification with two button Allow and Block. How can I handle this.
54%20PM

Edit: This doesn’t work. Correct answer below

1 Like

That’s not an Alert and WebUI.acceptAlert() will not work.

What you’re seeing is a browser-based notification and needs to be addressed using Desired Capabilities.

@Brandon_Hein has written the manual on this:

Also, for context and background:

http://forum.katalon.com/search?q=notifications%20%40Brandon_Hein

1 Like