CheckOps
Playwright-BDD
Playwright-BDD is an MIT-licensed library that turns Gherkin feature files into native Playwright tests, so BDD scenarios run with the Playwright Test runner, fixtures and reporters.
Latest public signals
Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.
Introduction
Playwright-BDD lets teams write Given/When/Then scenarios in .feature files and run them as real Playwright tests. Instead of running Cucumber with Playwright as a library, it converts feature files into Playwright Test files and wires up the step definitions, so you keep Playwright’s runner, parallelism, fixtures, retries, traces and reporters.
The README now frames BDD as especially useful ‘in the AI era’: scenarios are readable enough for people and coding agents to draft, and executable so they stay aligned with the code. The project provides a skill for AI coding agents and describes a workflow where humans review only feature files.
Steps are defined with createBdd() and can use Playwright fixtures directly, including custom fixtures. It also supports Cucumber-style step definitions and tags.
In the quality loop it sits at the acceptance and end-to-end stage for teams that want BDD without giving up Playwright Test.
The source code is at vitalets/playwright-bdd on GitHub under the MIT licence, with about 830 stars; the most recent commit was on 10 November 2026.
Features
- Native Playwright tests: Feature files compile to Playwright Test files.
- Fixtures in steps: Use Playwright fixtures inside step definitions.
- Tags and filtering: Gherkin tags map to Playwright test filtering.
- Playwright reporters: HTML report, traces and other reporters work unchanged; Cucumber reports are also supported.
- AI agent skill: A provided skill helps coding agents write compliant scenarios.
Pros
- Best of both: Readable Gherkin with Playwright’s speed and tooling.
- Free to use: Open source under the MIT licence, so the core tool costs nothing to use.
- Actively maintained: The repository had commits as recent as 10 November 2026.
Cons
- Generation step: Tests are generated with
bddgenbefore running, which adds a build step. - Small project: About 830 GitHub stars and mainly one maintainer.
Usage and Links (Example)
npm i -D @playwright/test playwright-bdd
Feature: Login
Scenario: User signs in
Given I am on the login page
When I sign in as "user@example.com"
Then I see "Welcome"
npx bddgen && npx playwright test
Resources:
Pricing
Playwright-BDD is free and open source under the MIT licence.
Recommended for?
- BDD teams moving to Playwright.
- Teams writing scenarios with AI agents who want them executable.
- Not a fit if nobody reads the feature files; plain Playwright tests are simpler.
Conclusion
Playwright-BDD is the cleanest way to combine Gherkin scenarios with the Playwright Test runner, and it is actively maintained.
On CheckOps, Playwright-BDD is filed under the End-to-end & functional stage. Related tools listed here include Playwright, Cucumber, Cypress Cucumber Preprocessor, Serenity/JS, CodeceptJS and Reqnroll. Before choosing, compare them on licence, supported languages and platforms, hosting model, and how well each fits your existing CI pipeline. Facts on this page were checked against the official website, documentation and repository on 11 November 2026; statements the vendor makes about its own product are marked as vendor claims.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with Playwright-BDD side by side.
PPlaywrightPlaywright is a framework for Web Testing and Automation.Compare with Playwright-BDD
CCucumberCucumber is the open-source BDD tool that runs Gherkin feature files against step definitions. It is not CucumberStudio.Compare with Playwright-BDD
CCypress Cucumber PreprocessorThe Cypress Cucumber Preprocessor (badeball) is an MIT-licensed plugin that lets Cypress run Gherkin feature files with Cucumber-style step definitions, tags and reports.Compare with Playwright-BDD
SSerenity/JSSerenity/JS is an Apache-2.0 TypeScript framework that adds the Screenplay Pattern and living-documentation reports to Playwright Test, WebdriverIO, Cucumber, Mocha and Jasmine suites.Compare with Playwright-BDD
CCodeceptJSCodeceptJS is an MIT-licensed end-to-end testing framework for Node.js that writes tests as readable user steps and runs them on Playwright, WebDriver, Puppeteer or Appium.Compare with Playwright-BDD
RReqnrollReqnroll is a BSD-3-Clause .NET port of Cucumber based on the SpecFlow code base, running Gherkin scenarios with MSTest, NUnit, xUnit or TUnit on .NET Framework 4.6.2+ through .NET 10.Compare with Playwright-BDD