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?
Asked
Active
Viewed 82 times
2 Answers
0
If you are using Selenium with Chrome driver you can setup the preferences for the driver to automatically 'Allow' geolocation

Marko Eronen
- 11
- 1
0
Try SendKeys({ESC});
it usually works with this kind of popup.

morteng
- 1,133
- 2
- 9
- 22

HomerSimpsons
- 49
- 6
-
Sorry But where does that method exist? or we have to create – Game dev Jun 27 '22 at 09:01