gecko-dev/testing/webdriver
Andreas Tolfsen f3071e8691 bug 1585964: webdriver: drop regex dependency; r=webdriver-reviewers,jgraham
webdriver depends on the regex crate for unit testing which adds
significant overhead building the crate.  We could depend on
serde_json::from_value() instead, following the same pattern set
forth in the marionette crate.

Differential Revision: https://phabricator.services.mozilla.com/D48318

--HG--
extra : moz-landing-system : lando
2019-10-07 12:53:38 +00:00
..
src bug 1585964: webdriver: drop regex dependency; r=webdriver-reviewers,jgraham 2019-10-07 12:53:38 +00:00
Cargo.toml bug 1585964: webdriver: drop regex dependency; r=webdriver-reviewers,jgraham 2019-10-07 12:53:38 +00:00
moz.build
README.md Bug 1520137: Update documentation pointing to #interop instead of #ateam r=whimboo 2019-01-15 14:14:10 +00:00

webdriver library

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.

Building

The library is built using the usual Rust conventions:

% cargo build

To run the tests:

% cargo test

Contact

The mailing list for webdriver discussion is tools-marionette@lists.mozilla.org (subscribe, archive).

There is also an IRC channel to talk about using and developing webdriver in #interop on irc.mozilla.org.