How to use a different Chrome Driver?
By default, we automatically download the appropriate Chrome Driver for your system and store it in the build/
directory. However, if you prefer to use a different version, please follow these instructions based on your operating system:
Mac/Linux:
-
First, navigate to the
build/
directory where the previously downloaded chromedriver is located.cd build/
-
Delete the existing downloaded chromedriver file created by the program.
rm -rf chromedriver
-
Now, copy the desired chromedriver into the
build/
directory and name it aschromedriver
. -
Run
main.py
, and the manually pasted Chrome Driver will be used for your program.
Windows:
-
First, navigate to the
build/
directory where the previously downloaded chromedriver is located.cd build/
-
Delete the existing downloaded chromedriver file created by the program.
del chromedriver.exe
-
Now, copy the desired chromedriver into the
build/
directory and name it aschromedriver.exe
. -
Run
main.py
, and the manually pasted Chrome Driver will be used for your program.