| Crates.io | webdriver-install |
| lib.rs | webdriver-install |
| version | 0.3.2 |
| created_at | 2021-01-23 11:19:22.721627+00 |
| updated_at | 2021-02-07 15:20:16.431409+00 |
| description | Fast and simple webdriver installation |
| homepage | https://github.com/phansch/webdriver-install |
| repository | https://github.com/phansch/webdriver-install |
| max_upload_size | |
| id | 345595 |
| size | 72,029 |
Fast and simple webdriver installation
# Install into $HOME/.webdrivers
webdriver-install --install geckodriver
# Or into a specified directory
webdriver-install --install geckodriver --dir /tmp/webdrivers
# Check that it installed correctly:
/tmp/webdrivers/geckodriver --help
use webdriver_install::Driver;
use std::path::PathBuf;
fn main() {
// Install into $HOME/.webdrivers
Driver::Chrome.install();
// Install into specified path
Driver::Chrome.install_into(PathBuf::from("/tmp/webdrivers"));
}
Driver installation support:
chromedrivergeckodriveredgedriveriedriveroperadriversafaridriver
Safaridriver comes pre-installed on all MacOS systems, but we can at least
provide the binary location.Usability:
Inspired by:
wasm-pack's internal test helpers