
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
playwright-bdd
Advanced tools
Run BDD tests with Playwright runner
🚀 Getting Started 📚 Documentation ▶️ Example 📝 Changelog
[!TIP] BDD + MCP: Your thoughts?
In the era of AI, you can take BDD approach to the next level:
Both Playwright and CucumberJS have their own test runners. You can use the CucumberJS runner with Playwright as a library to execute BDD scenarios. This package offers an alternative: convert BDD scenarios into Playwright test files and run them as regular tests. You gain all the advantages of the Playwright runner:
Playwright-BDD has several unique features:
Check out the documentation website.
examples folderplaywright-bdd supports all non-deprecated versions of Playwright. To check which Playwright versions are currently deprecated, run:
npm show @playwright/test@1 deprecated
Feel free to report a bug, propose a feature or share your experience:
Check out the latest changes in the CHANGELOG.md.
Great thanks to the amazing people and companies already supporting Playwright-BDD! Your help keeps the project alive and growing:
If you find Playwright-BDD useful in your personal or work projects, consider becoming a sponsor. Even small contributions help me dedicate more time to maintenance, new features, and community support.
Your contributions are welcome! Please review CONTRIBUTING.md for the details.
Take a look on this section.
This project is licensed under the MIT License, allowing you to use, modify, and share the code freely, even for commercial purposes. Enjoy building something amazing! 🎉
FAQs
BDD Testing with Playwright runner
The npm package playwright-bdd receives a total of 159,849 weekly downloads. As such, playwright-bdd popularity was classified as popular.
We found that playwright-bdd demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.