|0.2.1||Jun 3, 2018|
|0.2.0||Feb 6, 2018|
|0.1.1||Jan 24, 2018|
|0.1.0||Jun 4, 2017|
#5 in #browser
33 downloads per month
webdriver_client on crates.io
Pull requests welcome.
GeckoDriver and ChromeDriver are fully supported as WebDriver backends by the
webdriver_client::chrome::ChromeDriver structs. This crate expects the driver to be on your path.
However HttpDriver will accept any WebDriver server's HTTP URL, so
Microsoft WebDriver for Edge,
safaridriver for Apple
Safari, and OperaDriver for Opera should all work if you start the
bin/download_chromedriver download the Linux x64 binary releases for geckodriver and chromedriver.
This snippet will download the drivers and place it on your current shell's path:
bin/download_geckodriver bin/download_chromedriver export PATH=$PATH:$PWD/bin
cargo test runs a few tests. Integration tests require geckodriver and chromedriver to be installed.
- Added ChromeDriver.
wwwbin has new commands:
- Breaking change:
Driver::session and DriverSession::create_sessiontake a
NewSessionCmdargument that specifies the session capabilities.
- New method on
- New methods on
- Integration tests: many more of them, more assertions and a built-in HTTP server.
This fork is based on equalsraf's excellent work from https://github.com/equalsraf/webdriver.