Mobile browser automation

How to handle default system generated pop ups for android browser(google chrome) automation?

Have you tried

//or accept()


Thanx Sergey… I used that but it is throwing NoAlertPresentException: no alert open
is there any other way to solve this?
meanwhile i also set capability to capabilities.setCapability(“autoAcceptAlerts”, true); and it is working but i am still able to see popup on the screen.

Ok. I think there is server-side issue. Please report it with attached server logs here:

I have found the solution for this particular problem: