Skip to content

Detects the Chrome version and installs the most suitable chromedriver-py version.

License

Notifications You must be signed in to change notification settings

AlirezaRoshanzamir/chromedriver-py-auto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chromdriver-py-auto

A wrapper around chromedriver-py library. Detects the Chrome version and installs the most suitable chromedriver-py version.

Installation

Just run the following command:

pip install chromedriver-py-auto

Usage

Even though this library installs the chromedriver-py itself, but some build systems (such as Pants) create different isolated environments for setup and running, so, the dependencies installed in setup time got removed at runtime. For this reason, I copied actual driver binary to the chromedriver_py_auto package at setup time. Therefore, in addition to the method presented in chromedriver-py#usage, the copied binary can be used as follow:

from chromedriver_py_auto import binary_path
...

About

Detects the Chrome version and installs the most suitable chromedriver-py version.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages