2017-09-03 19:15:03 +03:00
|
|
|
webdriver library
|
|
|
|
=================
|
2016-11-01 09:59:27 +03:00
|
|
|
|
2017-09-03 19:15:03 +03:00
|
|
|
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.
|
2017-09-03 17:56:42 +03:00
|
|
|
|
2017-09-03 19:15:03 +03:00
|
|
|
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.**
|
|
|
|
|
|
|
|
[webdriver crate]: https://crates.io/crates/webdriver
|
2018-09-12 16:21:44 +03:00
|
|
|
[W3C WebDriver standard]: https://w3c.github.io/webdriver/
|
2017-09-03 19:15:03 +03:00
|
|
|
|
|
|
|
|
|
|
|
Building
|
|
|
|
========
|
|
|
|
|
|
|
|
The library is built using the usual [Rust conventions]:
|
|
|
|
|
2018-09-12 16:21:44 +03:00
|
|
|
% cargo build
|
2017-09-03 19:15:03 +03:00
|
|
|
|
|
|
|
To run the tests:
|
|
|
|
|
2018-09-12 16:21:44 +03:00
|
|
|
% cargo test
|
2017-09-03 19:15:03 +03:00
|
|
|
|
|
|
|
[Rust conventions]: http://doc.crates.io/guide.html
|
|
|
|
|
|
|
|
|
|
|
|
Contact
|
|
|
|
=======
|
|
|
|
|
|
|
|
The mailing list for webdriver discussion is
|
|
|
|
tools-marionette@lists.mozilla.org ([subscribe], [archive]).
|
|
|
|
|
2020-03-03 10:05:02 +03:00
|
|
|
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>`__
|
2017-09-03 19:15:03 +03:00
|
|
|
|
|
|
|
[subscribe]: https://lists.mozilla.org/listinfo/tools-marionette
|
2018-09-12 16:21:44 +03:00
|
|
|
[archive]: https://lists.mozilla.org/pipermail/tools-marionette/
|