Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 AutoChromedriver

AutoChromedriver.download_chromedriver()
```
If you want to download a specific version, run
```python
import AutoChromedriver

AutoChromedriver.download_chromedriver(version="2.46")
```
If you want to download a specific version to a specific location, run
```python
import AutoChromedriver

AutoChromedriver.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`.