Make Your End-to-End Tests More Stable with Playwright's User-first Selectors
There are many ways to locate elements using Playwright. However, Nočnica Mellifera advises using the ones that are the closest representation from the user's perspective in order to find accessibility issues.
Moreover, Thananjayan Rajasekaran wrote a handy guide on Optimizing Database Integration in Playwright.
Welcome to the 264th issue!
Microsoft has released an official Playwright MCP server!
It's another significant step towards the future of agentic AI in software testing.
While we're yet to see examples of using it in the wild, for now we have a 2-min demo by Debbie O'Brien.
And in case you're wondering what Model Context Protocol is and why it's a big deal — I recommend reading Why MCP Won.
Happy testing! 🙂
PS. To be fair, there are plenty of other Playwright MCP servers. But we finally have an official one.
Unlocking Playwright's Potential: Features for daily basis
Kostiantyn Teltov shares lots of tips for Playwright tests, explaining each one with helpful examples.
Similarly, Rajesh Sharma wrote about Boosting Testing Efficiency with Playwright: Simple and Effective Tips.
The Browser Automation Newbie Experience
Maaret Pyhäjärvi shares learnings from using Playwright and Selenium to automate web app tests with newbies.
Storybook + E2E Testing = 5x Faster way to test UI
In 30 minutes, Karthik K.K explains how you can use Playwright to test UI components created with the popular solution — Storybook.
A brief introduction to Accessibility Testing using Axe
If you want to learn how to automate accessibility tests for your website, Ajitava Deb wrote a helpful guide on integrating Axe with Selenium tests in Python.
Similarly, Sean Coughlin explains how to implement them using Playwright and Axe-Playwright.
How To Use Playwright's testInfo.retry To Deal With Flakey Environments
We've had some Cypress tips, now it's time for Playwright. Here's a helpful one by Sergei Gapanovich about smarter test retries.
Furthermore, Irfan Mujagić explains how to Handle Unreliable API Endpoints with Custom Retry Logic and Mocking with Playwright.
Jan Molak, one of Serenity/JS creators, created templates for using this handy framework with Playwright and WebdriverIO.
Comparing Top AI Models for Test Failure Analysis: Which Performs Best?
AI enables us to get more insights from test reports. Matthew Poulton-White tested out a few models and shared the results.
Similarly, Razvan Vancea explored AI-powered Playwright Test Reporting with Testbeats, followed by Thananjayan Rajasekaran demonstrating the well-known Report Portal with Playwright.