Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joeyism/autochromedriver
Downloads and unzips chromedriver to curent directory
https://github.com/joeyism/autochromedriver
auto automatic automation chromedriver download scrape scraper selenium
Last synced: 5 days ago
JSON representation
Downloads and unzips chromedriver to curent directory
- Host: GitHub
- URL: https://github.com/joeyism/autochromedriver
- Owner: joeyism
- License: apache-2.0
- Created: 2019-02-02T20:31:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-10T16:44:24.000Z (over 4 years ago)
- Last Synced: 2023-12-07T18:44:01.753Z (11 months ago)
- Topics: auto, automatic, automation, chromedriver, download, scrape, scraper, selenium
- Language: Python
- Size: 13.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AutoChromedriver
A helper library to automatically download chromedriver to current directory## Installation
```
pip3 install --user autochromedriver
```## Usage
### Commandline
```bash
autochromdriver [optional:version]
```### Library
If you want to download the latest version, run
```python
import AutoChromedriverAutoChromedriver.download_chromedriver()
```
If you want to download a specific version, run
```python
import AutoChromedriverAutoChromedriver.download_chromedriver(version="2.46")
```
If you want to download a specific version to a specific location, run
```python
import AutoChromedriverAutoChromedriver.download_chromedriver(version="2.46", location=".")
```## Documentation
```python
def download_chromedriver(version="2.46")
```
Passing in a version is possible, and it defaults to `2.46`.