Freedom251 › BDD Testing Tools
playwright-bdd

What playwright-bdd is
playwright-bdd converts BDD .feature files into native Playwright tests, allowing readable scenarios to become executable tests. Its documented workflow is to generate tests with `npx bddgen` and then run `npx playwright test`. Configuration uses `defineBddConfig()` in a Playwright config file, which returns the output test directory.
Generated tests can use Playwright features 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. It is an open-source package under the MIT license, which the README says permits commercial use, modification and sharing. The package requires Node.js 20 or later and declares `@playwright/test` version 1.53 or later as a peer dependency. The project directs users to GitHub issues and Playwright-BDD Discord for bug reports, feature proposals and feedback. GitHub reports that the repository has no SECURITY.md policy and no published security advisories.
Who it suits
playwright-bdd suits teams and AI agents that want to define behavior in readable BDD scenarios and verify generated code. It is for users working with Playwright who can meet its Node.js and peer-dependency requirements.
What it does well
- Converts BDD .feature files into native Playwright tests.
- Generated tests can use parallel execution and sharding.
- MIT license permits commercial use, modification and sharing.
- Project lists reusable step functions and scoped definitions.
What to know first
- Requires Node.js version 20 or later.
- Requires @playwright/test version 1.53 or later.
- Repository has no SECURITY.md policy or published advisories.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Playwright-BDD | No usage limits stated | Free |
As github.com lists them, read 4 Oct 2026. The maker's own page has the final word.
Getting started
- Open the project website on GitHub.
- Use Node.js version 20 or later and `@playwright/test` version 1.53 or later.
- Configure playwright-bdd in a Playwright config file with `defineBddConfig()`.
- Generate tests with `npx bddgen`.
- Run the generated tests with `npx playwright test`.
- Use GitHub issues or Playwright-BDD Discord for reports and feedback.
Verdict
playwright-bdd connects Gherkin-style scenarios with Playwright’s test capabilities through a documented generate-then-run workflow. Check the runtime requirements and the repository’s stated security-policy status before adopting it.
Questions
How much does playwright-bdd cost?
The listed plan is free, and the project is open source.
What does playwright-bdd do?
It converts BDD `.feature` files into native Playwright tests.
Which platforms and execution modes does it support?
The listed platform is web, and execution is local. Parallel execution and browser testing are supported.
What versions does it require?
It requires Node.js 20 or later and declares `@playwright/test` 1.53 or later as a peer dependency.
Can it be used commercially?
It is licensed under MIT, which permits commercial use, modification and sharing.
Where can users get support?
The project directs bug reports, feature proposals and feedback to GitHub issues and Playwright-BDD Discord.
Facts from playwright-bdd's own pages
- BDD features
- The project lists advanced tagging, step decorators, scoped step definitions, AI step exporting, and reusable step functions. · github.com, 4 Oct 2026
- Configuration
- Playwright-BDD is configured in a Playwright config file with `defineBddConfig()`, which returns the output test directory. · github.com, 4 Oct 2026
- Integration
- The package declares `@playwright/test` as a peer dependency with a minimum version of 1.53. · github.com, 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. · github.com, 4 Oct 2026
- License
- The project is licensed under MIT, which the README says permits commercial use, modification, and sharing. · github.com, 4 Oct 2026
- Maintainer
- GitHub identifies the repository owner as Vitaliy Potapov and describes him as a full-stack developer based in Spain. · github.com, 4 Oct 2026
- Playwright capabilities
- Generated tests can use Playwright features including parallel execution, sharding, fixtures, reports, screenshots, videos, and traces. · github.com, 4 Oct 2026
- Purpose
- Playwright-BDD converts BDD .feature files into native Playwright tests. · github.com, 4 Oct 2026
- Runtime requirement
- The package declares Node.js version 20 or later as its engine requirement. · github.com, 4 Oct 2026
- Security
- GitHub reports that the repository has no SECURITY.md policy and no published security advisories. · github.com, 4 Oct 2026
- Support
- The project directs users to GitHub issues and Playwright-BDD Discord for bug reports, feature proposals, and feedback. · github.com, 4 Oct 2026
- Workflow
- The documentation describes generating tests with `npx bddgen` before running `npx playwright test`. · vitalets.github.io, 4 Oct 2026
Where playwright-bdd stands on Freedom251
- BDD Testing Tools#24 of 30