How to set chrome driver path ?

Posted May 28, 2021 191 views


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there,

You could add the chromedriver binary to your path by running the following command:

export PATH=$PATH:/path/to/driver/chromedriver

Note that this would be only active for your current shell session, you could add the line to the bottom of your .bashrc file so that it would be available each time.