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
Built Distribution
Hashes for chromedriver_py-126.0.6478.62.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b27967d78bf8e6580d5df1357ada40c9e6c7d355a5641426125ff8d401d8811 |
|
MD5 | 1985a825fd07d6a679261cd90c6f5438 |
|
BLAKE2b-256 | 4f7c1eee92b8013a42869109e64753c9fa280b0b7fb778d875c30f49d926e7e7 |
Hashes for chromedriver_py-126.0.6478.62-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 420774f1116c96da6d688ea467e48eb38f6125ca84ed3f43a8b7c84ae04f935d |
|
MD5 | 5596954c731fcb708e99b467b80b0b46 |
|
BLAKE2b-256 | be9f57cd0fc7382ef62d2a519cea8ca11be9283282fb7ef75c81ce82c1bde02f |