Batman Batman - 8 months ago 67
Python Question

Chrome Not Starting When Using ChromeDriver

I'm trying to use Selenium and ChromeDriver to write a scraping job. When I run the following code though nothing happens, in the sense that Chrome doesn't appear to start, but I don't get an error.

import time

from selenium import webdriver

driver = webdriver.Chrome()

Is there something else that I need to do to make Chrome start?


You need to download chromedriver from here and put it in your path. I also see that you have a typo in driver.get, make sure you have a correct URL as well

Below is the typo I was talking about