{"repo":"vitalets/playwright-bdd","free":true,"listed":false,"github":"https://github.com/vitalets/playwright-bdd","clone":"git clone https://github.com/vitalets/playwright-bdd.git","description":"BDD testing with Playwright runner","language":"TypeScript","stars":757,"topics":["automated-testing","bdd","cucumber","gherkin","playwright","testing"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"Playwright-BDD Run BDD tests with Playwright runner 🚀 Getting Started &nbsp; 📚 Documentation &nbsp; ▶️ Example &nbsp; 📝 Changelog BDD in the Era of AI Behavior-Driven Development (BDD) describes product requirements as Given / When / Then scenarios written in .feature files. These scenarios are valuable artifacts for AI agents because they are both readable and executable . You can refine them during planning to provide the agent with a clear goal. Once the code is written, the agent runs the same scenarios as tests to verify the implementation. Unlike plain markdown specs, BDD does not just describe the behavior; it makes the spec live and keeps it aligned with the codebase. Install the playwright-bdd skill and check out the blog post on using BDD in agentic workflows. Why Playwright Runner? Playwright can be used as a browser automation library with any test runner, such as CucumberJS or Vitest. However, it is most powerful when used with the Playwright test runner . Playwright-BDD converts BDD scenarios into native Playwright tests, so you get all Playwright runner features out of the box: - Automatic browser setup and cleanup - Auto-waiting for page elements - Auto-capture of screenshots, videos, and traces - Parallel execution and sharding - Built-in reports and visual comparison testing - Playwright fixtures - ...and more How It Works Extras Playwright-BDD has several unique features: - 🔥 Advanced tagging by path and special tags - 🎩 Step decorators for class metho","default_branch":null,"files":null,"tree":[],"storefront":"/r/vitalets","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vitalets/playwright-bdd/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}