How to disable location service by chromedriver selenium?

Viewed 6910

I'm using selenium 2 - Webdriver , Chromedriver, Java. One of my tests needs to turn off the location service on Chrome .

I notice that by default, the location service is turned on Chromedriver.

I'm wondering if there is a way to disable location service on chromedriver?

many thanks in advance!

1 Answers
Related