Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/breuerfelix/chromedriver-py
chromedriver self updated binaries for all platforms
https://github.com/breuerfelix/chromedriver-py
chromedriver cross-platform package pip pypi python
Last synced: 5 days ago
JSON representation
chromedriver self updated binaries for all platforms
- Host: GitHub
- URL: https://github.com/breuerfelix/chromedriver-py
- Owner: breuerfelix
- License: apache-2.0
- Created: 2018-09-18T07:25:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T16:34:22.000Z (9 months ago)
- Last Synced: 2024-05-22T00:25:10.832Z (7 months ago)
- Topics: chromedriver, cross-platform, package, pip, pypi, python
- Language: Python
- Homepage: https://pypi.org/project/chromedriver-py/
- Size: 12.8 MB
- Stars: 44
- Watchers: 2
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:__
```bash
$ pip install chromedriver-py
```__specific version:__
choose your version [here](https://pypi.org/project/chromedriver-py/#history)
```bash
# 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
```python
from selenium import webdriver
from chromedriver_py import binary_path # this will get you the path variablesvc = 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
```