65 releases (breaking)
|0.48.0||Apr 3, 2023|
|0.47.1||Feb 2, 2023|
|0.47.0||Oct 13, 2022|
|0.46.0||Jun 30, 2022|
|0.2.2||Jul 22, 2015|
#330 in Web programming
59,546 downloads per month
Used in 31 crates (8 directly)
The webdriver crate is a library implementation of the wire protocol for the W3C WebDriver standard written in Rust. WebDriver is a remote control interface that enables introspection and control of user agents. It provides a platform- and language-neutral wire protocol as a way for out-of-process programs to remotely instruct the behaviour of web browsers.
The webdriver library provides the formal types, error codes, type and bounds checks, and JSON marshaling conventions for correctly parsing and emitting the WebDriver protocol. It also provides an HTTP server where endpoints are mapped to the different WebDriver commands.
As of right now, this is an implementation for the server side of the WebDriver API in Rust, not the client side.
The library is built using the usual Rust conventions:
% cargo build
To run the tests:
% cargo test
The mailing list for webdriver discussion is https://groups.google.com/a/mozilla.org/g/dev-webdriver.
There is also an Element channel to talk about using and developing