I\'m having trouble using the Chrome driver for Selenium. I have the chromedriver downloaded and saved to C:\\Chrome:
driver = webdriver.Chrome(executable_pa
In addition to the selected answer (windows style path):
driver = webdriver.Chrome(executable_path=r"C:\Chrome\chromedriver.exe")
Note the r in front of the "C:\Chrome\chromedriver.exe", this makes this string a raw string.
In case you do not want to use a raw string you should escape the slash like so \\, this would become:
driver = webdriver.Chrome(executable_path="C:\\Chrome\\chromedriver.exe")
Or you can replace the \ with a /, you will get this:
driver = webdriver.Chrome(executable_path="C:/Chrome/chromedriver.exe")