#Chrome Devtools Protocol params = { "latitude": 50.1109, "longitude": 8.6821, "accuracy": 100 } driver = webdriver.Chrome() driver.execute_cdp_cmd("Page.setGeolocationOverride", params) driver.get('https://www.google.com/maps')