gecko-dev/testing/webdriver
Sylvestre Ledru 7f26dcf1b6 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
Done with:
./mach lint -l rustfmt --fix
with
rustfmt 1.4.12-stable (a828ffe 2020-03-11)

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D72527
2020-04-25 21:21:32 +00:00
..
src Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio 2020-04-25 21:21:32 +00:00
Cargo.toml Bug 1606281 - Part 1: Update warp to 0.2. r=jgraham,webdriver-reviewers 2020-04-20 15:27:31 +00:00
README.md Bug 1619500 - [marionette, geckodriver] Replace references of IRC with Matrix. 2020-03-03 07:05:02 +00:00
moz.build

README.md

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 a Matrix channel to talk about using and developing webdriver on #interop:mozilla.org <https://chat.mozilla.org/#/room/#interop:mozilla.org>__