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 selenium.webdriver.chrome.service import Service
from chromedriver_py import binary_path # this will get you the path variable
service_object = Service(binary_path)
driver = webdriver.Chrome(service=service_object)
# 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
developer
you can trigger a custom build with a specific version in github actions.
just click Run workflow
and put your desired version in the version
input field that pops up.
the workflow tries to get your desired version and push it to pypi.
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-108.0.5359.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5731c0184fc4dcfc9ef1610099b74fcfc618b10ec705396566876c1822f51677 |
|
MD5 | 76f9c7568368dbac40eb8f71b24a90b6 |
|
BLAKE2b-256 | 10464abd9aae018652caa361df4778713e398792035b2f73e62a03b13b1efaf3 |
Hashes for chromedriver_py-108.0.5359.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c07e22b53f4f4aba4ad1b47a2207ef415b401314c4f9a25c5b0c70f80f1a1b1 |
|
MD5 | 7f7a4160a7e1e3a434b181864d8d4a3a |
|
BLAKE2b-256 | d81e53742602a6e7588428798bea5c4a83b4208307a54134c9db67962369c72c |