Skip to content

Disabling automatic chromedriver download #213

Answered by ElSnoMan
ElSnoMan asked this question in Q&A
Discussion options

You must be logged in to vote

Hello Andres!

💡 Pylenium uses WebDriverManager to automatically manage the driver binaries given the browser(s) installed on the machine.

For example, if your machine has Google Chrome version 93.0.4577.63 installed, then WebDriverManager will look within ~/.wdm folder for a chromedriver executable that matches that version. If one doesn't exist, then it will download it and use that - all automatically.

💡 If you want to use a local driver executable instead, then set the local_path field within pylenium.json

For example, if I downloaded the chromedriver and left it in my /Downloads folder, my pylenium.json would look like this (observe the driver.local_path field):

{
  "driver": {
    

Replies: 1 comment

Comment options

ElSnoMan
Oct 1, 2021
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by ElSnoMan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant