Playwright POM (Page Object Model)
If you're looking for a thorough guide on implementing Page Object Model in Playwright, this one-hour overview by Alex Khvastovich should get you covered.
Similarly, Jarad Saunders explains Page Object Model in Playwright C# in 16 minutes.
How to parameterize Playwright projects
Stefan Judis put together an insightful guide on using options to configure fixtures, page object models, and tests in Playwright.
Furthermore, Priyanshu Shekhar helps you get An In-Depth Understanding of getByRole in Playwright.
Playwright MCP Server: Zero-Code Testing Magic with Cline & Cursor
Have you heard of Playwright MCP? Karthik K.K. demonstrates the abilities of this open-source implementation of MCP protocol for AI-powered browser automation using Playwright.
You can also watch examples of using it for No-Code API, UI & DB Testing and No-Code BDD Testing.
How to do authentication in Playwright
If your web app requires authentication, there's a smart way of handling that across several Playwright tests without repeating the login scenario all over again. Filip Hric explains how.
Similarly, Butch Mayhew has an example of Playwright Login Test With 2FA Enabled.
API Testing with Playwright and OpenAPI-Generated Types
Playwright can test both the UI and API of web apps. Adam Pajda wrote a detailed, example-based overview of implementing tests for the latter.
Dynamic Class Loading for Page Objects in Playwright Automation
Thananjayan Rajasekaran demonstrates using the Page Object Model in Playwright for flexible scenarios, such as localisation testing.
Also, Marcin Michalak provides some good examples of Automated accessibility test scripts in Playwright.
Building a simple configuration mechanism for your Playwright project
Do you want to make your Playwright test configuration more flexible? Kostiantyn Teltov shows a few tricks to achieve that.
Also, Butch Mayhew wrote a fine guide to Playwright-Cli-Select For Quick Targeted Test Runs via CLI.
Playwright Visual Testing; How Should Things Look?
Maxwell Nyamunda gives a practical overview of Playwright's visual testing feature.
Moreover, Debbie O'Brien has a helpful tip on Playwright Assertions: Avoid Race Conditions with This Simple Fix!
How good is GitHub Copilot at generating Playwright code?
Stefan Judis shows the pros and cons of using GitHub Copilot for writing Playwright tests. And since it's now free, why not try it out yourself?
Playwright Visual Tests with GIT-LFS and Docker
Visual testing at scale can quickly grow in size. Adam Pajda developed an interesting approach to handling Playwright visual tests by storing them in Git Large File Storage.