I am trying to execute some tests using chromedriver and have tried using the following methods to start chromedriver.
driver = webdriver.Chrome(\'/usr/local
I have solved the issue in the following way:
Open a terminal and type whereis chromedriver
. In my case, I had the following output:
chromedriver: /usr/local/bin/chromedriver
Copy that path and edit your Webdriver instance like:
driver = webdriver.Chrome('/usr/local/bin/chromedriver')
That should be enough!