rajatt95/Playwright_JS_BDD — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple web automation testing starter project using Playwright with JavaScript and Cucumber style BDD.

I want it set up so I can write plain English feature files, connect them to step definitions, and keep browser actions organized in page object files instead of putting everything in one place. Please include a working example with a scenario outline and examples table, basic assertions, and enough sample tests that I can see the pattern clearly.

Also add a test runner setup, a clean folder structure, formatting config, and an HTML report that gets generated after the tests run. Make it easy to run from VS Code or the terminal with simple npm commands. Include a short README explaining how to install everything, run the tests, add a new feature, and open the report.

Keep it beginner friendly and practical, like something I could use as a base for learning or for starting a small QA automation project. Look up current docs online if you need to.

Want more depth? Deep Reverse