w3c / webdriver-bidi

Bidirectional WebDriver protocol for browser automation
https://w3c.github.io/webdriver-bidi/
336 stars 35 forks source link

WebDriver BiDi

WebDriver BiDi is a bidirectional protocol for browser automation, building on and extending WebDriver.

WebDriver BiDi is a living standard that continuously gets new features added. For more info, consult these resources:

Status

test

How to build the specification locally

We use bikeshed to generate the specification.

Make sure you have the right version of python installed.

Now you can run in your terminal:

./scripts/build.sh

This script installs bikeshed (if not installed yet) and generates an index.html file for the specification.

Later on, you can use the --upgrade argument to force installing a newer version.

How to generate CDDL locally

Make sure you have npm and rust installed.

Now you can run in your terminal:

./scripts/test.sh

This script installs required npm and cargo packages (if not installed yet) and generates the CDDL files for the remote end (remote.cddl) and the client (local.cddl).

Later on, you can use the --upgrade argument to force installing newer versions.