webdriver-install

Crates.iowebdriver-install
lib.rswebdriver-install
version0.3.2
sourcesrc
created_at2021-01-23 11:19:22.721627
updated_at2021-02-07 15:20:16.431409
descriptionFast and simple webdriver installation
homepagehttps://github.com/phansch/webdriver-install
repositoryhttps://github.com/phansch/webdriver-install
max_upload_size
id345595
size72,029
Phil Hansch (phansch)

documentation

https://docs.rs/webdriver-install

README

webdriver-install

Rust Sponsor
count Crates.io docs.rs MSRV

Fast and simple webdriver installation

Usage

As a CLI

# 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

As a Rust library

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"));
}

Implementation state

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:

Commit count: 141

cargo fmt