0

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

burnsi
  • 6,194
  • 13
  • 17
  • 27
nami-san
  • 1
  • 2

2 Answers2

0

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?

0

Try SendKeys({ESC}); it usually works with this kind of popup.

morteng
  • 1,133
  • 2
  • 9
  • 22