38 releases
0.5.17 | Jun 13, 2024 |
---|---|
0.5.16 | Feb 15, 2024 |
0.5.14 | Jan 4, 2024 |
0.5.13 | Sep 29, 2023 |
0.3.10 | Mar 31, 2023 |
#1061 in Web programming
2,229 downloads per month
88KB
1.5K
SLoC
webdriver-downloader-cli
Cli for webdriver download. Supports chromedriver(both Chrome and Chrome for Testing), geckodriver for Windows, Linux and macOS.
Usage
# Install webdriver-downloader-cli
cargo install webdriver-downloader-cli
# Installs chromedriver into %USERPROFILE%/bin/chromedriver.exe ($HOME/bin/chromedriver for unix family)
# If Chrome for Testing is installed, chromedriver for Chrome for Testing will be installed.
# Otherwise, chromedriver for Chrome will be installed.
webdriver-downloader.exe
# You can specify path to install driver to. Adding mkdir flag will create the parent directory.
webdriver-downloader.exe --mkdir --driver ./drivers/chromedriver.exe
# You can also provide the path to the browser executable, which is useful for downloading webdriver for different channels.
webdriver-downloader.exe --mkdir --driver ./drivers/chromedriver_dev.exe --browser "C:/Program Files/Google/Chrome Dev/Application/chrome.exe"
# Supported driver types are "chrome", "gecko".
webdriver-downloader.exe --type gecko
Dependencies
~22–39MB
~645K SLoC