@mochify/driver-playwright
TypeScript icon, indicating that this package has built-in type declarations

0.3.2 • Public • Published

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, 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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.3.25latest

Version History

VersionDownloads (Last 7 Days)Published
0.3.25
0.3.11
0.3.01
0.2.01
0.1.21
0.1.11
0.1.01

Package Sidebar

Install

npm i @mochify/driver-playwright

Weekly Downloads

3

Version

0.3.2

License

MIT

Unpacked Size

5.76 kB

Total Files

6

Last publish

Collaborators

  • mantoni