Skip to content

SeleniumBase specify path to chromedriver #3087

Answered by mdmintz
FindingBen asked this question in Q&A
Discussion options

You must be logged in to vote

There are 2 places SeleniumBase checks for drivers:

  1. The seleniumbase/drivers folder.
  2. Each folder of os.environ["PATH"], in order.

If you don't want to use the seleniumbase/drivers folder for driver storage, then you can download chromedriver manually to a folder on your System PATH. The version of chromedriver must match your version of Chrome, or else SeleniumBase will automatically download a matching driver to the seleniumbase/drivers folder, which can't be changed. You can, however, change os.environ["PATH"] at runtime so that you can add a folder to the front that isn't already there.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Comment options

You must be logged in to vote
3 replies
@mdmintz
Comment options

@FindingBen
Comment options

@mdmintz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants