@mochify/driver-playwright
v0.3.2
Published
Playwright driver for Mochify
Downloads
52
Maintainers
Readme
Mochify driver for Playwright
Run tests in Playwright.
Usage
Install the package from npm:
npm i @mochify/driver-playwright -D
and pass it to the CLI:
mochify --driver playwright ...
Driver options
The driver allows the following options to be set:
stderr
Defines the stream the test output will be written to. Defaults to process.stderr
engine
The browser engine to use.
Right now, Playwright supports chromium
, firefox
and webkit
.
Defaults to firefox
.
url
Run tests in the context of the given URL.
Defaults to an empty document served using the file:
scheme.
Passing through launch options to Playwright
In addition to the driver options documented above, driver-playwright
allows you to pass through all of Playwright's other launchOptions
using the defaults as described here.