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
AI writes and runs tests; the tester decides which ones matter. The skills to build: prompts, models, code, critical thinking, priorities.
With AI, the tester becomes a quality engineer: the job moves from running tests to making decisions. The machine writes and runs a good share of the tests, and the tester’s value now lies in what they choose, review, and decide. Four technical skills (prompting, the basics of language models, plugging AI into your tools, reading code) and five human skills (critical thinking, orchestration, communication, curiosity, a sense of priorities) make the difference. The human skills weigh as much as the technical ones.
A tester’s value is no longer measured by the number of tests they run, but by the quality they achieve by splitting the work between humans and machines. That’s the definition of a quality engineer: a tester who designs the quality strategy and orchestrates the tools, rather than running every check themselves. We go into detail in What does AI really change in automated testing?: AI won’t replace testers; it will transform their job.
The formula fits on one line: tester value = (technical skills + AI mastery) × available time. AI adds a term to the sum and frees up time: both factors grow.
| Task | Before AI | With AI |
|---|---|---|
| Writing test cases | The tester, by hand | AI suggests, the tester sorts and completes |
| Writing test code | The tester or a developer | AI writes most of it, the tester reviews the critical parts |
| Fixing a broken test | By hand, one test at a time | The tool suggests the fix, the tester approves it |
| Choosing what to test | Often implicit | The core skill |
Four, in order of urgency: writing prompts, understanding language models, plugging AI into your tools, and reading code.
Writing prompts. Knowing how to phrase a clear request: break down a need, give examples, ask the AI to reason step by step, iterate, and keep your best prompts as templates. The difference shows right away: the first prompt gives a generic list, the second a usable plan.
Write tests for my login page.
I'm working on the customer account login page of an e-commerce site (email and password). Write 10 test cases: happy paths, field validation, error handling. Given / When / Then format. Rank them by criticality.
The second gives context, structure, and constraints. To go further: how to have AI write your test cases.
Understanding language models. No need to become a data scientist. You just need to know what a token is, why a model “hallucinates” (it invents a plausible answer when it lacks information), what the context limit is, and how ChatGPT, Claude, and Gemini differ. A tester who understands why the AI got it wrong corrects course; the others conclude that “AI doesn’t work.”
Plugging AI into your tools. AI is more useful inside your pipeline than in a separate tab: model APIs, AI in your testing frameworks (Playwright, Cypress), Jira’s assistant, and RAG (retrieval-augmented generation), which means giving the AI your own documents, specs, or past test cases so it answers from them. An example project: a Slack bot that receives a screenshot of a bug, has it read by a model that can analyze images, and creates a structured Jira ticket.
Reading code. You don’t need to be a senior developer, but you do need to read the code the AI produces, adapt it, debug it, and review it as you would a colleague’s. AI writes most of it; the critical parts (error handling, edge cases) are still yours.
The ones AI doesn’t have: judging, deciding, explaining. When the machine produces the code, these are what set a quality engineer apart from a chatbot operator.
One skill at a time, over four weeks, with two hours a week blocked in your calendar to experiment.
The budget and tools to get started are covered in how to start testing with AI on a small budget.
The five most common mistakes, and how to avoid them:
Qanary, no-code automated testing for e-commerce, takes care of the repetitive part: replaying shopping journeys several times a day, repairing tests when the site changes, and sending the video of the bug when a journey breaks. The quality engineer keeps what belongs to them: choosing the journeys, writing the checks, and judging the results. The details are on the Product 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?