Expand description
Fast and simple webdriver installation
§Usage
By default, driver executables are installed into $HOME/.webdrivers.
use webdriver_install::Driver;
// Install geckodriver into $HOME/.webdrivers
Driver::Gecko.install()?;
// Install chromedriver into $HOME/.webdrivers
Driver::Chrome.install()?;You can specify a different location with Driver::install_into:
use webdriver_install::Driver;
use std::path::PathBuf;
// Install geckodriver into /tmp/webdrivers
Driver::Gecko.install_into(PathBuf::from("/tmp/webdrivers"))?;
// Install chromedriver into /tmp/webdrivers
Driver::Chrome.install_into(PathBuf::from("/tmp/webdrivers"))?;Re-exports§
pub use installer::Driver;