Five Playwright CLI features you should know
Playwright has recently extended the options for its CLI runner and here's a solid overview of them by Stefan Judis.
Turn Playwright into AI-Powered Test Automation with Claude MCP Server
In this 13-minute video, Karthik K.K explains how to leverage the Model Context Protocol to connect Claude AI to the local Playwright environment and write tests with it.
Furthermore, he also used it to implement No-Code API Testing with Playwright + AI.
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.
A beginner's guide to starting API testing with Playwright JS
Want to test APIs with Playwright? Team Merlin shared a detailed guide on how to set up the framework, implement tests and test reporting.
Furthermore, Sumit Soman wrote a handy Playwright's Guide to Mocking APIs & Network Traffic.
Multi-Window Automation: A Practical Guide with Playwright and Cypress
If your goal is to automate tests that have to use multiple windows, Irfan Mujagić comes to the rescue, explaining the right methods in both Playwright and Cypress.
Why you shouldn't run tests sequentially
Writing tests that rely on execution order may lead to test flakiness. Nočnica Mellifera explores better alternatives like fixtures, hooks, and test steps.
Also, Lana Begunova advises to Stop Running High-Risk E2E Tests in Every Browser.
[JS] Playwright - Automate Chromium, Firefox and WebKit with a single API
I've stumbled upon it this week and there's only one word I can say: FINALLY! If you like Puppeteer, you'll love Playwright. Their goal is to be vendor-neutral and to make the APIs more testing-friendly than Puppeteer. Most importantly, you can now test browsers other than Chrome too!
Fun fact: it's created by the same team that originally built Puppeteer. More fun: Puppeteer is maintained by Google, and Playwright... by Microsoft! Looks like they play it right! 😂