📄️ Introduction to Serenity Playwright
The serenity-playwright module provides seamless integration between Serenity BDD's powerful reporting capabilities and Playwright's modern browser automation. This combination gives you the best of both worlds:
📄️ Getting Started
This guide will help you set up a new Serenity Playwright project from scratch.
📄️ Page Objects
Page Objects are a design pattern that encapsulates the structure and behavior of a web page. With Playwright and Serenity, Page Objects provide a clean separation between your test logic and page implementation details.
📄️ Step Libraries
Step Libraries are the bridge between your tests and Page Objects. They provide Serenity's rich reporting capabilities through @Step annotations while keeping your tests clean and readable.
📄️ Configuration
Serenity Playwright can be configured through various means to customize browser behavior, screenshot capture, and reporting.
📄️ Best Practices
This guide covers best practices for writing maintainable, reliable, and efficient Serenity Playwright tests.
📄️ Tutorial: Testing TodoMVC
This tutorial walks through building a Serenity Playwright test suite for the TodoMVC application. Rather than showing you the finished code upfront, we'll build it iteratively—starting with a single test and adding only what we need as we go.