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?
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