Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yeongbin-jo/python-chromedriver-autoinstaller
The chromedriver auto installer for distribution.
https://github.com/yeongbin-jo/python-chromedriver-autoinstaller
Last synced: 4 months ago
JSON representation
The chromedriver auto installer for distribution.
- Host: GitHub
- URL: https://github.com/yeongbin-jo/python-chromedriver-autoinstaller
- Owner: yeongbin-jo
- License: mit
- Created: 2019-08-16T23:15:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-28T15:30:40.000Z (5 months ago)
- Last Synced: 2024-02-29T11:32:45.302Z (4 months ago)
- Language: Python
- Size: 55.7 KB
- Stars: 206
- Watchers: 8
- Forks: 75
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-stars - yeongbin-jo/python-chromedriver-autoinstaller - The chromedriver auto installer for distribution. (Python)
- awesome-stars - yeongbin-jo/python-chromedriver-autoinstaller - The chromedriver auto installer for distribution. (Python)
README
# chromedriver-autoinstaller
Automatically download and install [chromedriver](https://chromedriver.chromium.org/) that supports the currently installed version of chrome. This installer supports Linux, MacOS and Windows operating systems.## Installation
```bash
pip install chromedriver-autoinstaller
```## Usage
Just type `import chromedriver_autoinstaller` in the module you want to use chromedriver.## Example
```
from selenium import webdriver
import chromedriver_autoinstallerchromedriver_autoinstaller.install() # Check if the current version of chromedriver exists
# and if it doesn't exist, download it automatically,
# then add chromedriver to pathdriver = webdriver.Chrome()
driver.get("http://www.python.org")
assert "Python" in driver.title
```## Authors & Contributors
- CHIDA <[[email protected]](mailto:[email protected])>
- shawnCaza <[[email protected]](mailto:[email protected])>