0.3.2 • Published 2 years ago
@mochify/driver-playwright v0.3.2
Mochify driver for Playwright
Run tests in Playwright.
Usage
Install the package from npm:
npm i @mochify/driver-playwright -Dand 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, firefoxand 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.