Selenium for Python opens chrome tab with "data" rather than specified URL

Viewed 238

My chromedriver and chrome app are the same up to date version, but the tab still just opens to "data" in the URL bar

driver = webdriver.Chrome(executable_path="C:\\Windows\\chromedriver.exe")

driver.get("https://google.com")
1 Answers

Driver instance can be simply:

driver = webdriver.Chrome(r'path\to\chromedriver.exe')

Is chrome and driver at last version?

The syntax is ok, try to change chromedriver path.

Related