Home > Blockchain >  Automation Testing can't bypass location popup
Automation Testing can't bypass location popup

Time:06-27

I'm doing automation testing and our portal has this new feature that needs to know the location of the user. How can i possibly click the 'Allow' button? see picture here

CodePudding user response:

If you are using Selenium with Chrome driver you can setup the preferences for the driver to automatically 'Allow' geolocation

How to enable geo location by default using Selenium?

CodePudding user response:

Try SendKeys({ESC}); it work with alot of this kind of popup

  • Related