In short
A browsing agent is an AI assistant that opens pages, reads their content, clicks, fills in forms and carries out a task for a user: finding a product, requesting a quote, booking a slot. This check consists of having such agents complete your key journeys, following a repeatable protocol, and noting where they fail and why. Once it is done, you have a dated results grid, a list of blockers sorted by cause and a free automated test that detects regressions. This topic is experimental: agents change quickly and their results vary from one attempt to the next.
Why it matters
Agents do not see a page the way a human does. Depending on the tool, they rely on screenshots, on the accessibility tree (the representation of roles, names and states that the browser provides to assistive technologies) or on both. A button without a name, a custom drop-down list, an error message that disappears, a CAPTCHA or a price that changes at the last step is enough to make a task fail that a human completes without thinking.
Traditional audits only reveal some of these problems. Automated accessibility tests find missing names, not the journey that loops. Only an end-to-end test, with real agents, shows exactly where the task breaks. Since agents are non-deterministic, a single attempt proves nothing: you have to repeat and record the conditions.
The previous guides in this topic fix specific defects. This test checks that, together, those fixes let a task be carried through to the end.
What it improves
- Success rate of agent-led tasks on your key journeys. Measurable with the grid in this guide.
- Prioritization You fix the blockers actually encountered instead of applying a theoretical list.
- Accessibility and conversion for humans Most causes of failure also hinder visitors, especially those who use a screen reader or the keyboard.
- Regression detection The automated test fails when a release breaks a journey.
- Visibility and citations No direct effect.
How to check
The check is done when:
- Each key journey has been attempted at least three times by at least two different agents, on a recorded date.
- Each failure has an identified cause and an assigned fix.
- An automated test replays the journeys on every deployment or every week.
- The success rate is tracked from one campaign to the next.
For a first overview in ten minutes, run Lighthouse's experimental “Agentic Browsing” category in Chrome 150 or later on a key page (see below). It gives a proportion of passed checks, not a score out of 100.
How to implement
Step 1 — Choose the journeys and write the scenarios
Pick three to six journeys that matter to your business. For each one, write the instruction as a user would give it to an assistant, and a verifiable success criterion:
| Journey | Instruction given to the agent | Success criterion |
|---|---|---|
| Product search | “On example.com, find a 1-liter cast iron teapot under €60 and give me its final price delivered to Nantes” | Right product, exact price and fees |
| Cart | “Add 2 bags of 100 g sencha to the cart and go as far as the payment page, without paying” | Correct cart, stops before payment |
| Quote | “Request a boiler servicing quote for 12 rue des Lilas in Nantes, with the email address [email protected]” | Form submitted, confirmation message displayed |
| Booking | “Book the first free slot on Thursday morning for a servicing visit, with the test account” | Slot booked, summary correct |
| Account | “Find the invoice for my last order and tell me its amount” | Right amount, no access to another account |
Write the instructions like an ordinary user: without naming the buttons or describing the page.
Warning: test on a staging environment or with test accounts, products and payment methods. Never give an agent a real password or a real card for a test, and stop each scenario before any real payment.
Step 2 — Choose the agents
Combine a consumer agent with a free, reproducible option.
| Agent | Type | Access | Note |
|---|---|---|---|
| Claude in Chrome | Anthropic's Chrome extension | Paid Claude plans | Acts in your own browser; asks for your approval when an action requires it |
| Comet | Perplexity's browser with a built-in assistant | Mac, Windows, iOS, Android | Acts in the user's browser |
| ChatGPT Work | ChatGPT's agent for long tasks, which can use a browser | Paid ChatGPT plans | Asks for the user's approval for some actions |
| Playwright MCP with a compatible assistant | Open source MCP server that drives a browser | Free | Relies on the accessibility tree; reproducible |
| Lighthouse, Agentic Browsing category | Automated audit | Free, Chrome 150 or later | Experimental; checks, does not browse |
Other assistants offer or are testing agent features in the browser, and the offering changes often: check each tool's availability and terms on the date of your campaign. According to OpenAI's help center, the former “ChatGPT agent” is no longer available.
Step 3 — Run with a fixed protocol
For each journey and agent pair:
- New session, with no history or prior sign-in (except a planned test account).
- Instruction copied verbatim from the table in step 1.
- Three attempts, recording date, time, agent, version or model if the tool shows it, language and country. The documentation method is the one in document engine, model, date, language and test conditions (opens in a new tab).
- Observation without intervening, except for a sign-in or a confirmation that the agent asks for.
- Screenshot of the step where the task fails, and review of the server and firewall logs over the same period.
Results grid, in a spreadsheet:
| Date | Journey | Agent | Attempt | Result | Blocking step | Cause | Fix | Owner |
|---|---|---|---|---|---|---|---|---|
| 2026-11-24 | Cart | Claude in Chrome | 1 | Partial | Weight selection | Custom drop-down list with no role or name | Replace with a native select |
Front end |
| 2026-11-24 | Cart | Claude in Chrome | 2 | Passed | — | — | — | — |
| 2026-11-24 | Quote | Playwright MCP | 1 | Failed | Submission | CAPTCHA on every submission | Invisible challenge, adjusted threshold | Ops |
| 2026-11-24 | Booking | Comet | 1 | Failed | Slot | Drag-only calendar | Add a button for each slot | Front end |
Formula for the success rate per journey, in Google Sheets (results in column E, journeys in column B):
=COUNTIFS(B:B,"Cart",E:E,"Passed")/COUNTIFS(B:B,"Cart")
Step 4 — Link each blocker to its cause
| Observed symptom | Common cause | Guide for the fix |
|---|---|---|
| The agent clicks in the wrong place or cannot find the action | button with no accessible name, icon only | identify what each button does (opens in a new tab) |
| The agent does not know what to enter | field without a label, placeholder only | use semantic HTML and explicit labels (opens in a new tab) |
| The agent loops after a submission | invisible or short-lived error | provide clear error messages (opens in a new tab) |
| The agent does not see that an option is selected | state not exposed (aria-expanded, aria-pressed) |
make component states accessible (opens in a new tab) |
| The agent cannot perform the action | drag and drop, hover, mandatory gesture | avoid mandatory complex gestures (opens in a new tab) |
| Wrong price or stock in the answer | final price revealed late, hidden options | display final prices, availability and options (opens in a new tab) |
| Page blocked, CAPTCHA, 403 or 429 error | overly broad anti-bot protection | check automatic blocking and CAPTCHAs (opens in a new tab) |
| The agent gets lost between steps | changing URLs, state lost on reload | keep URLs stable (opens in a new tab) |
| Journey too long, abandonment | unnecessary steps and fields | simplify booking and checkout (opens in a new tab) |
With Playwright MCP (free)
Playwright MCP is an MCP server that drives a browser based on the page's accessibility tree. It works with Node.js 20 or later and any MCP client. With Claude Code:
claude mcp add playwright npx @playwright/mcp@latest
For another client, the JSON configuration is:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest"]
}
}
}
Then give the assistant the scenario's instruction. You see each action and the page snapshot it reasons on: this is the best way to understand why it fails.
For regression testing, turn each successful journey into a Playwright test based on roles and accessible names, the same ones an agent uses:
// tests/parcours-panier.spec.ts
import { test, expect } from '@playwright/test';
test('add sencha to the cart', async ({ page }) => {
await page.goto('https://staging.example.com/thes/sencha');
await page.getByRole('combobox', { name: 'Weight' }).selectOption('100 g');
await page.getByRole('spinbutton', { name: 'Quantity' }).fill('2');
await page.getByRole('button', { name: 'Add to cart' }).click();
await expect(page.getByRole('status')).toContainText('2 items');
await page.getByRole('link', { name: 'View cart' }).click();
await expect(page.getByRole('heading', { level: 1 })).toHaveText('Cart');
await expect(page.locator('main')).toMatchAriaSnapshot(`
- heading "Cart" [level=1]
- table:
- row /Sencha 100 g/
`);
});
npm init playwright@latest
npx playwright test
If a role-and-name selector does not work, an agent will probably struggle at the same spot. Run these tests in continuous integration.
With Lighthouse
Lighthouse's “Agentic Browsing” category, experimental and based on proposed standards, groups three families of checks: WebMCP integration (tools declared by the page for agents), a subset of accessibility audits useful to agents (names, labels, tree integrity, visibility), and stability and discoverability (layout shifts and the presence of an llms.txt file). It requires Chrome 150 or later; the WebMCP checks also require signing up for the WebMCP origin trial. The result is a proportion of passed checks.
Use it as a quick checklist, not as proof: it does not run any journey. The presence of an llms.txt file is one check among others, not proof of usefulness; see assess a real use case for llms.txt (opens in a new tab).
With Claude in Chrome
Install the extension from the Chrome Web Store, sign in with a Claude account on a paid plan, open the side panel on the starting page and give the instruction. The panel starts in auto-approve mode, with Claude stopping to ask for your approval when an action requires it; for a test, keep this behavior and note the steps at which it asks you. The extension acts in your browser, with your cookies: use a Chrome profile dedicated to testing, with no session open on real accounts.
With Comet and ChatGPT
Comet acts in the user's browser, like Claude's extension. ChatGPT, on the other hand, can use a browser hosted by OpenAI: its requests come from OpenAI's servers and are signed with the Signature-Agent: "https://chatgpt.com" header. If this journey fails on the very first page, look for blocking by your CDN or firewall before any other problem.
Cloudflare
Versions Cloudflare dashboard, all plans, November 2026.
During each campaign, open Security > Analytics, the Events tab, and filter on the time of the attempts: a challenge or a block on an identified agent explains a failure unrelated to your pages. The policy for AI bots and agents is set in Security > Settings; the details are in check CDN, Cloudflare and WAF (opens in a new tab).
Common mistakes
- Drawing conclusions from a single attempt: agents never take the same path twice. At least three attempts per journey and agent pair.
- Giving overly guided instructions (“click the green button at the bottom”): you are testing your instruction, not your site.
- Testing in production with real payment methods or real accounts.
- Ignoring the logs: a failure blamed on the page often comes from firewall blocking.
- Not dating the results: without a date or an agent version, two campaigns cannot be compared.
- Fixing for one specific agent with targeted workarounds: fix the cause (accessible name, exposed state, shorter journey), which serves every agent and every visitor.
- Mistaking the Lighthouse score for a journey test.
Frequently asked questions
What is an AI browsing agent?
An AI browsing agent is an assistant that uses a browser in place of the user: it opens pages, reads their content, clicks, fills in forms and chains the steps of a task, such as comparing products or booking a slot. Depending on the tool, it acts in the user's browser or in a hosted browser, and relies on screenshots, on the page's accessibility tree or on both.
How can I test my site with an AI agent for free?
The most reproducible free option is Playwright MCP, an open source server that drives a browser, paired with an MCP-compatible assistant. You give it a journey's instruction and see every action and every page snapshot. Complement it with Playwright tests based on roles and accessible names, run in continuous integration, and with Lighthouse's experimental Agentic Browsing category.
How many times should a test with an agent be repeated?
Repeat each journey at least three times per agent, because agents are non-deterministic and do not always follow the same path. For each attempt, record the date, the agent, its version or model, the language and the country. Run a full campaign every quarter and after each redesign of the journey, and compare the success rate per journey from one campaign to the next.
Why does an agent fail where a human succeeds?
An agent often fails on what a human guesses: a button reduced to an icon with no name, a custom drop-down list with no role, an error message that disappears, a final price revealed at the last step, a mandatory drag gesture, a CAPTCHA or firewall blocking. Most of these defects also hinder visitors who use a screen reader or the keyboard, and are fixed with native HTML and simpler journeys.
Resources
- Chrome for Developers: Lighthouse's Agentic Browsing categorydeveloper.chrome.com
- Chrome for Developers: WebMCPdeveloper.chrome.com
- Playwright: getting started with Playwright MCPplaywright.dev
- Playwright: ARIA snapshotsplaywright.dev
- Anthropic: getting started with Claude in Chromesupport.claude.com
- OpenAI: helping ChatGPT's cloud browser access your sitedevelopers.openai.com
- Perplexity: Cometperplexity.ai
Updated on
Topic checklist (PDF)