Home

Awesome

<div align="center"> <a href="https://vitalets.github.io/playwright-bdd"> <img width="128" alt="playwright-bdd" src="./docs/logo.svg"> </a> </div> <h2 align="center">Playwright-BDD</h2> <div align="center">

lint test npm version npm downloads license

</div> <div align="center">

Run BDD tests with Playwright runner

</div>

[!TIP] :fire: Check out what's new in Playwright-BDD v8

Why BDD?

AI takes BDD approach to the next level:

Why Playwright runner?

Both Playwright and CucumberJS have their own test runners. You can use CucumberJS runner with Playwright as a library to execute BDD scenarios. This package offers an alternative way: convert BDD scenarios into test files and run them with Playwright. Such approach brings all the benefits of Playwright runner:

Extras

Some features were developed in Playwright-BDD on top of Playwright and BDD approaches:

Documentation

Check out the documentation website.

Examples

There are several examples in examples folder and a separate fully working repo playwright-bdd-example.

Community

Feel free to get in touch:

Changelog

Check out the latest changes in the CHANGELOG.md.

Contributing

Your contributions are welcome! Please review CONTRIBUTING.md for the details.

Sponsors

Huge thanks to the sponsors of the Playwright-BDD project ❤️ Become a sponsor

<!-- sponsors --><a href="https://github.com/currents-dev"><img src="https:&#x2F;&#x2F;github.com&#x2F;currents-dev.png" width="60px" alt="User avatar: Currents.dev" /></a><a href="https://github.com/jzaratei"><img src="https:&#x2F;&#x2F;github.com&#x2F;jzaratei.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/NikkTod"><img src="https:&#x2F;&#x2F;github.com&#x2F;NikkTod.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/alescinskis"><img src="https:&#x2F;&#x2F;github.com&#x2F;alescinskis.png" width="60px" alt="User avatar: Arturs Leščinskis" /></a><a href="https://github.com/kahuna227"><img src="https:&#x2F;&#x2F;github.com&#x2F;kahuna227.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/alexhvastovich"><img src="https:&#x2F;&#x2F;github.com&#x2F;alexhvastovich.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/FrancescoBorzi"><img src="https:&#x2F;&#x2F;github.com&#x2F;FrancescoBorzi.png" width="60px" alt="User avatar: Francesco Borzì" /></a><a href="https://github.com/cassus"><img src="https:&#x2F;&#x2F;github.com&#x2F;cassus.png" width="60px" alt="User avatar: Adam Banko" /></a><!-- sponsors -->

How to make BDD valuable for my project?

Have a look on this section.

My other Playwright tools

License

MIT