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

#1019 in Web programming

Download history 1/week @ 2024-06-27 16/week @ 2024-07-04 152/week @ 2024-07-25 13/week @ 2024-08-01 3/week @ 2024-09-19 38/week @ 2024-09-26 31/week @ 2024-10-03

72 downloads per month

MIT license

88KB
1.5K SLoC

webdriver-downloader-cli

Crates.io

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
~655K SLoC