BDD::Behave::Playwright
Every page of the BDD::Behave::Playwright manual, in reading order.
- Overview Thin glue between BDD::Behave and WWW::Playwright. It adds browser lifecycle hooks and Playwright-aware matchers to behave examples.
- Installation This distribution is glue. It pulls in the two pieces it sits between, but the browser itself comes from WWW::Playwright, which needs Node and a Chromium...
- Browser lifecycle playwright-page wires the browser lifecycle into a describe block. It launches one browser for the group, creates a fresh context and page for each...
- System tests playwright-page wires the browser into one describe block at a time. When most of a suite's browser specs share the same setup, you can register the...
- Matchers The matchers assert on WWW::Playwright Locator and Page objects. Apply them method-style on an expectation:
- Failure diagnostics When an example managed by playwright-page fails, the lifecycle captures a screenshot of the page before the context is closed, so you can see what the...
- End to end A complete example: load a form, fill it, submit it, and assert the result.