playwright-bdd
playwright-bdd is an open-source package that converts BDD .feature files into native Playwright tests.
What playwright-bdd is
playwright-bdd is an open-source package that converts BDD .feature files into native Playwright tests. Generated tests can use Playwright capabilities such as parallel execution, sharding, fixtures, reports, screenshots, videos, and traces. The project also lists advanced tagging, step decorators, scoped step definitions, AI step exporting, and reusable step functions. Its documented workflow is to generate tests with `npx bddgen` and then run `npx playwright test`; configuration uses `defineBddConfig()` in a Playwright config file to return the output test directory. The package requires Node.js 20 or later and declares `@playwright/test` 1.53 or later as a peer dependency. It is licensed under MIT, which the README says permits commercial use, modification, and sharing. The README frames readable, executable BDD scenarios as a way for teams and AI agents to specify behavior and verify generated code. The project directs users to GitHub issues and Playwright-BDD Discord for bug reports, proposals, and feedback. GitHub reports no SECURITY.md policy and no published security advisories.
Good
- Converts BDD .feature files into native Playwright tests.
- Generated tests support parallel execution and sharding.
- MIT license permits commercial use and modification.
- Includes reusable step functions and advanced tagging.
Watch out
- Requires Node.js 20 or later.
- Requires `@playwright/test` 1.53 or later.
- Repository has no SECURITY.md policy.
Who it suits
It suits developers and teams who want to turn BDD feature files into Playwright tests and use Playwright’s test-running capabilities. It requires Node.js 20 or later and `@playwright/test` 1.53 or later.
Verdict
playwright-bdd connects readable BDD scenarios with native Playwright tests and a documented generation-and-run workflow. Check its runtime and peer dependency requirements before adopting it.
Plans and prices
From playwright-bdd's own pricing page, checked 4 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Playwright-BDD | Free | No usage limits stated |
The facts
Each one read from playwright-bdd's own pages, with the date it was checked.
What it does
- BDD features
- The project lists advanced tagging, step decorators, scoped step definitions, AI step exporting, and reusable step functions.checked 4 Oct 2026
- Configuration
- Playwright-BDD is configured in a Playwright config file with `defineBddConfig()`, which returns the output test directory.checked 4 Oct 2026
- Integration
- The package declares `@playwright/test` as a peer dependency with a minimum version of 1.53.checked 4 Oct 2026
- Intended use
- The README presents readable and executable BDD scenarios as a way for teams and AI agents to define behavior and verify generated code.checked 4 Oct 2026
- License
- The project is licensed under MIT, which the README says permits commercial use, modification, and sharing.checked 4 Oct 2026
- Maintainer
- GitHub identifies the repository owner as Vitaliy Potapov and describes him as a full-stack developer based in Spain.checked 4 Oct 2026
- Playwright capabilities
- Generated tests can use Playwright features including parallel execution, sharding, fixtures, reports, screenshots, videos, and traces.checked 4 Oct 2026
- Purpose
- Playwright-BDD converts BDD .feature files into native Playwright tests.checked 4 Oct 2026
- Runtime requirement
- The package declares Node.js version 20 or later as its engine requirement.checked 4 Oct 2026
- Security
- GitHub reports that the repository has no SECURITY.md policy and no published security advisories.checked 4 Oct 2026
- Support
- The project directs users to GitHub issues and Playwright-BDD Discord for bug reports, feature proposals, and feedback.checked 4 Oct 2026
- Workflow
- The documentation describes generating tests with `npx bddgen` before running `npx playwright test`.checked 4 Oct 2026
Alternatives to playwright-bdd
- 1

Karate
Free planOpen sourceAPIExtensionLinuxmacOS8.2From $100 a year - 2
FitNesse
Free planWebAPILinuxmacOS6.7Free plan - 3

Reqnroll
Free planWindowsmacOSLinux6.7From €400 a year - 4
BddDotNet
Free planLinuxmacOSWindows6.6Free plan - 5
BDDX
Free planWeb6.6From $9.99 a month - 6

Cucumber Open
Free planAndroidAPILinuxmacOS6.6Free plan
