Mastering Playwright Test Automation: From Flaky Tests to Confident Deployments
Parthiban Rajasekaran shares plenty of lessons learned from working with Playwright that will help you improve the reliability of your tests.
Moreover, Juan Promanzio gives advice on Avoiding Collisions and Failures in Parallel Testing, while Debbie O'Brien shows a few tips on Reproducing CI Failures Locally in Playwright.
A Practical Look at the Object Pool Pattern for Playwright Tests
Have you heard of the Object Pool Pattern? It's a helpful way to manage Playwright test resources when running in parallel, as explained by Yevhenii Otsevych.
Furthermore, Kailash Pathak describes how to use Fixtures in Playwright with Basic Example.
GitHub Copilot Edits + Playwright: AI Agent That Writes & Runs Your Tests!
This time, Karthik K.K. is trying out the new GitHub Copilot Edits feature to generate Playwright tests with AI.
Automating Playwright Tests with YAML: From File Conversion to Execution
To simplify test management, Felipe de Campos came up with the idea of writing Playwright tests in YAML. You can learn more about it in the following part about Assertion and Code Evaluation in Our YAML Testing Framework.
Are ChatGPT or Claude better than Playwright Codegen?
Interesting question! Stefan Judis checks how general-purpose LLM chatbots compare to Playwright Codegen when it comes to the accuracy and effectiveness of generating tests.
How to Use Playwright for Advanced Network Interception
If you're looking into validating your web app behaviour in failure scenarios, Balaji Kumarasamy shows a handy guide to validating that with Playwright tests.
Also, Rinkesh Patel shares a concise Recipe for managing Playwright tests for different deployment environments.
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.
Is It Worth Mocking WebSockets by Playwright?
It's a good question — and a good explanation — especially if you face a similar challenge of testing WebSockets as Andrey Enin does.
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?