While navigating on my website I got alert about notification with two button Allow and Block. How can I handle this.
Edit: This doesn’t work. Correct answer below
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: