Files
firefox/testing/webdriver
Cristian Tuns f795bc1019 Backed out 4 changesets (bug 1895738, bug 1884650) for causing wdspec failures in user_prompts.py. CLOSED TREE
Backed out changeset 124e4f18e16d (bug 1895738)
Backed out changeset 967f3124eaf7 (bug 1895738)
Backed out changeset 5d46db5db0cd (bug 1895738)
Backed out changeset 9e54c5eb281c (bug 1884650)
2024-05-22 08:25:05 -04: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 https://groups.google.com/a/mozilla.org/g/dev-webdriver.

There is also an Element channel to talk about using and developing webdriver on #webdriver:mozilla.org <https://chat.mozilla.org/#/room/#webdriver:mozilla.org>__