Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

playwright-bdd

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

playwright-bdd

BDD Testing with Playwright runner and CucumberJS

  • 7.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

playwright-bdd

lint test npm version npm downloads license

Run BDD tests with Playwright runner.

Inspired by the issue in the Playwright repo microsoft/playwright#11975

[!TIP] Playwright-bdd v7 is released! Dropped Cucumber package dependency, simpler configuration and other improvements. Try it out and share the feedback!

Why Playwright runner?

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

  • Automatic browser initialization and cleanup
  • Auto-capture of screenshots, videos and traces
  • Parallelization with sharding
  • Auto-waiting of page elements
  • Out-of-box visual comparison testing
  • Power of Playwright fixtures
  • ...a lot more

Extras

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

Documentation

Check out documentation website.

Examples

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

Community

Let's make playwright-bdd awesome together!

Changelog

Check out the latest changes in the CHANGELOG.md.

Contributing

Your contributions are welcome! Review DEVELOPMENT.md for playwright-bdd local setup and development.

Sponsors

Great thanks to the sponsors for supporting playwright-bdd project ❤️ Become a sponsor

Currents.devArturs Leščinskis

How to make BDD valuable for my project?

Have a look on this section.

My other Playwright tools

License

MIT

Keywords

FAQs

Package last updated on 02 Oct 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc