Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @servant/servant-playwright with all npm packages installed. Try it out:

var servantPlaywright = require("@servant/servant-playwright")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@servant/servant-playwright v0.1.3

Servant testing that use playwright to running browsers for tests.

Servant Servant playwright

Quick references: Command line, Node API, servant.json, dev-server

What is it?

Servant playwright is module that use playwright module from Microsoft to running tests against more browsers. Noy you can run test on these browsers: Chromium, Webkit and Firefox. This list can change as playwright is developing so actually supported browser you can find on playwright page. Playwright also support emulating devices. Actually list of devices can be found on device list.

Module is only wrapper and provide mapping playwright API on Servant api.

Caveats

This module is optional for Servant and it's not installed when installing Servant because of size of browsers core. To use more complex testing run npm install @servant/servant-playwright --save-dev in root project (when servant is installed).

Donate me 😉

QRPaypal

License

Licensed under GPLv3

Playwright is licensed under Apache-2.0

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free