Skip to main content

chromedriver binaries for all platforms

Project description

chromedriver-py

downloads and installs the latest chromedriver binary version for automated testing of webapps.
the installer supports linux, mac and windows operating systems.

this package is maintained by an automated update script on travis.
if a new chromedriver version is out, this package will automaticly get updated within a day.

installation

due to the way how the pipeline packages the binaries, you cannot install the package from github.
installing from pypi is the only option.

from pypi:

$ pip install chromedriver-py

specific version:
choose your version here

# example for chrome version 88
pip install chromedriver-py==88.0.4324.96

usage

to use chromedriver just from chromedriver_py import binary_path.
you will get a string variable with the executable filepath for your operating system.

example

from selenium import webdriver
from chromedriver_py import binary_path # this will get you the path variable

svc = webdriver.ChromeService(executable_path=binary_path)
driver = webdriver.Chrome(service=svc)

# deprecated but works in older selenium versions
# driver = webdriver.Chrome(executable_path=binary_path)
driver.get("http://www.python.org")
assert "Python" in driver.title

Project details


Release history Release notifications | RSS feed

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-129.0.6668.100.tar.gz (44.1 MB view hashes)

Uploaded Source

Built Distribution

chromedriver_py-129.0.6668.100-py3-none-any.whl (44.2 MB view hashes)

Uploaded Python 3

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