The latest_chromedriver
is a module for python scripts in order to find the correct version of the ChromeDriver depending on Google Chrome version.
The purpose of this module is not to be deployed to live system like webservers or similar.
This module is intended for use in scripts that are running on different client machines, where Google Chrome could be in different versions or auto updated.
These instructions will get you a copy of the project up and running on your local. Currently there are three systems supported:
import latest_chromedriver
latest_chromedriver.safely_set_chromedriver_path()
If Google Chrome
is installed in a different location:
import latest_chromedriver
latest_chromedriver.safely_set_chromedriver_path(chrome_path='/adhoc/locatation/googe-chrome')
If chromedriver
needs to be installed in a different location:
import latest_chromedriver
latest_chromedriver.safely_set_chromedriver_path(chromedriver_folder='/tmp')
In order to install this module you need to have:
- Google Chrome
- Python >= 3
Install latest-chromedriver
with pip
python -m pip install latest-chromedriver
- logzero - A simple library for easy logging (could change it to standard logging module)
- requests - Requests is an elegant and simple HTTP library for Python, built for human beings
- ubelt - A “utility belt” of commonly needed utility and helper functions
- py-cpuinfo - Gets CPU info with pure Python
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- Charalampos Gkikas - Initial work - hargikas
This project is licensed under the MIT License - see the LICENSE file for details