This repository contains an example project that integrates Cucumber with Playwright. You need a recent NodeJS version. During installation, Playwright downloads browser binaries for Chromium, Firefox and WebKit.
$ git clone https://github.com/cronn-de/frontend-test-playwright-example your-own-tests
$ cd your-own-tests
$ npm install
# run tests with Chromium
$ npm test
$ npm run test:chromium
# run tests with Mozilla Firefox
$ npm run test:firefox
# run tests with WebKit
$ npm run test:webkit