Crates.io | webdriver-downloader-cli |
lib.rs | webdriver-downloader-cli |
version | 0.5.17 |
source | src |
created_at | 2023-02-25 01:10:23.475856 |
updated_at | 2024-06-13 08:42:39.381372 |
description | Cli for webdriver download. |
homepage | https://github.com/ik1ne/webdriver-downloader |
repository | https://github.com/ik1ne/webdriver-downloader |
max_upload_size | |
id | 794042 |
size | 85,510 |
Cli for webdriver download. Supports chromedriver(both Chrome and Chrome for Testing), geckodriver for Windows, Linux and macOS.
# 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