Request-Mocking-Protocol: A New Approach to Mocking Server-Side Requests in E2E Testing
In this detailed overview, Vitaliy Potapov proposes a scalable, proxy-free method for mocking server-side API requests in Playwright tests in order to improve their reliability.
AI for Playwright and Selenium
Jason Arbon has just announced the coTestPilot — an open-source AI-powered extension for Playwright and Selenium frameworks that automates web testing and bug detection.
Furthermore, Vitaliy Potapov shares a great example of implementing "Fix with AI" Button in Playwright HTML Report.
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!
Expect more with playwright-expect
What's the biggest advantage of open-source projects? The freedom to contribute. Yevhen Laichenkov has just proven it by creating a handy assertion library playwright-expect for Playwright.
Is Playwright better than Cypress?
Both Cypress and Playwright are some of the most popular tools for web test automation. So how do they compare? Ganesh Hegde listed out the pros and cons of each.
And if you want to see an example, Muzammil Ahmed wrote a good tutorial for E2E Implementation of Web Test Automation using Playwright.
Migrating from Puppeteer to Playwright
In a way, Playwright is an evolution of Puppeteer. Tim Nolet nicely describes the differences and explains how to migrate between them.
Playing with Playwright — Java API
Playwright recently moved from being a JavaScript-only tool to supporting other languages as well. So here you'll find a nice guide from Angie Jones on getting started and writing your first test in Java.
Playwright Test and Browser Automation
Charles Chen gives a great high-level overview of Playwright — an open-source tool for end-to-end testing — and compares it to the other popular tools.