Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shawncaza/python-chromedriver-autoupdater
The chromedriver auto upddater for distribution.
https://github.com/shawncaza/python-chromedriver-autoupdater
browser-automation browser-driver chrome chromedriver
Last synced: about 2 months ago
JSON representation
The chromedriver auto upddater for distribution.
- Host: GitHub
- URL: https://github.com/shawncaza/python-chromedriver-autoupdater
- Owner: shawnCaza
- License: mit
- Fork: true (yeongbin-jo/python-chromedriver-autoinstaller)
- Created: 2023-07-21T03:50:19.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-27T04:31:52.000Z (about 1 year ago)
- Last Synced: 2024-09-22T12:03:08.420Z (about 2 months ago)
- Topics: browser-automation, browser-driver, chrome, chromedriver
- Language: Python
- Homepage: https://pypi.org/project/chromedriver-autoupdater/
- Size: 51.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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
```