The Selenium WebDriver for Python video I'm watching instructs me to copy ChromeDriver to /usr/local/bin. When I view my $PATH, I can see /usr/local/bin, but if I cd to /usr/local/bin it says the directory does not exist.

echo $PATH

cd /usr/local/bin
-bash: cd: /usr/local/bin: Not a directory

Python came pre-installed in OS 10.9.5 and it's in /usr/bin. Should I just copy ChromeDriver to /usr/bin?

1 Answer 1


You can put ChromeDriver wherever you like if you specify the path:

chromedriver_path = "<path_to_chromedriver>"

driver = webdriver.Chrome(executable_path=chromedriver_path)

It's really up to you if you want in usr/local/bin or elsewhere.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.