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:
- ✅
chromedriver
- ✅
geckodriver
- ⬜
edgedriver
- ⬜
iedriver
- ⬜
operadriver
- ⬜
safaridriver
Safaridriver comes pre-installed on all MacOS systems, but we can at least provide the binary location.
Usability:
- ✅ README instructions
- ✅ Stable-ish library API
- ⬜ Command line interface
- ⬜ Updating of installed drivers
- ⬜ Removal of installed drivers
- ✅ Published on crates.io
- ✅ Published library docs
- ✅ Linux support
- ✅ Windows support
- ✅ MacOS support
- ⬜ WSL support
- ⬜ Pre-built binaries
Inspired by:
- titusfortner/webdrivers which is written in Ruby.
wasm-pack
's internal test helpers- bonigarcia/webdrivermanager