/webdriver-bidi

Bidirectional WebDriver protocol for browser automation

Primary LanguageBikeshed

WebDriver BiDi

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

WebDriver BiDi is not ready. Here's what we have so far:

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 will install bikeshed (if not installed yet) and generate 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 will install required npm and cargo packages (if not installed yet) and generate 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.