Guide
Build a testing agent with Claude Code and Playwright
One folder, one command: Claude explores a site, plans its tests, runs them with Playwright, and delivers a report backed by proof. 15 minutes to set up.
Create your tests
Run them
Keep them up to date
By stage
Who it’s for
Where your customers buy: read your analytics, rank each device and browser in three tiers, and write them in a matrix you review every six months.
Test where your customers buy, not everywhere. Pull from your analytics the split of your visits and sales by device type, by browser, and by phone. Rank each environment in three tiers: full, partial, or no support. Write it all down in a matrix the whole team shares, and review it every six months. That way you cover most of your customers without spending weeks on it.
Because there are too many combinations. Four browsers on four screen sizes already make sixteen rounds of QA, before you even count the versions of iOS and Android. Testing them all by hand at every release would take days. The opposite, testing only on the developer’s computer, lets through the bug that only your mobile customers will see. In between, there’s a four-step method.
Tiers, figures, groups, then a matrix: the method fits on half a page.
First decide what each tier means for you, before you look at the figures. A simple rule, to adapt to the time and the team you have:
| Tier | What you test | Example threshold |
|---|---|---|
| Full | All journeys and all pages | More than 20% of visits |
| Partial | The critical journeys only: search, cart, payment | 10 to 20% |
| None | No dedicated test; you fix it if a customer reports a problem | Less than 10% |
Another possible rule: the top five of each list get full support, and nothing else. These thresholds are a choice, not a standard. On an e-commerce site, “none” doesn’t mean the site is allowed to break there: only that you don’t run a test there at every release.
Your analytics tell you where your customers are. In Google Analytics 4, the “Tech” report gives the split by device category, browser, operating system, and screen resolution. Put purchases or revenue next to visits: a device that accounts for 10% of visits can account for much more of your sales.
Here’s an example, with made-up figures:
A website doesn’t see a phone model: it sees a browser engine and a screen width. So group your figures before you decide:
The matrix is the team’s shared reference: developers, project managers, and testers know what a journey must work on. With the example above, it looks like this:
| Category | Environment | Share of visits | Tier |
|---|---|---|---|
| Device | Desktop | 60% | Full |
| Device | Mobile | 32% | Full |
| Device | Tablet | 8% | None |
| Browser | Chrome | 50% | Full |
| Browser | Firefox | 22% | Full |
| Browser | Safari | 18% | Partial |
| Browser | Edge, Opera | 5% each | None (same engine as Chrome) |
| Mobile | Chrome on Android (Galaxy, Redmi, Pixel…) | 21% of visits | Full |
| Mobile | Safari on iPhone | 11% of visits | Partial |
Phone models no longer appear in the matrix: they boil down to an engine and a screen width (here, the 32% of mobile visits are split between Android and iPhone). Review it every six months, and after every redesign: phone shares move fast, browser shares more slowly.
Three options, which you can combine:
With partial support, keep the journeys that drive revenue: search, cart, and payment.
Qanary, no-code automated testing for e-commerce, replays your journeys in Chrome, Firefox, Edge, and Safari, on large screens, laptops, tablets, and mobile, in parallel. You bring your matrix into it: your customers’ devices and browsers, based on your analytics. The details are on the All browsers and devices page.
Want to see Qanary test your site? with Julia or Antoine.
Guide
One folder, one command: Claude explores a site, plans its tests, runs them with Playwright, and delivers a report backed by proof. 15 minutes to set up.
Talk
Self-healing repairs a test when the site changes. Three approaches with AI, from the most guided to the most autonomous, and their limits (ParisTestConf 2026).
Talk
Define your critical journeys, document them in a spreadsheet, and move from reactive quality to quality you control: our talk at WordCamp Nice 2026.
Bugs only. Promise.
30 minutes, live on your site
Shall we look at your site together?