Skip to main content

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

Project description

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
...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chromedriver-py-auto-0.2.2.tar.gz (4.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page