Test a page or flow
Claude Code testing in browser: two routes
Claude Code can write the change, but whether a stranger gets through it needs a browser and fresh eyes. Here are two routes, what each one tells the agent, and the loop that ends with a re-run.
How do I get Claude Code to test my web app in a browser?
Either let it drive a browser it controls, which checks the path you describe, or connect an MCP server that starts a test with simulated visitors and returns a report it can read. The first confirms the change does what you said. The second finds what a stranger does that you did not say. With Mimiq's MCP server, Claude Code starts a test on a preview address, reads the problems ranked by how many visitors hit them, fixes them and runs again.
What this looks like in a report
“I picked a date and the page showed a spinner and then nothing. No message, no confirmation. I do not know if my booking went through, so I will email the studio and book somewhere else.”
The fix. Show a confirmation or an error after the date is submitted, and handle the failed request on that step. Run the same booking task on the preview and confirm the visitor reaches a confirmation.
An illustration. Run a test to see your own.See a real sample report
The agent tests the path it just wrote
A coding agent that checks its own work in a browser follows the steps in its own head: the button it added, the form it just built, the page it knows. It will find a crash on that path. It will not find that the label means nothing to a newcomer, that the menu hides the step, or that the confirmation email never arrives. The agent knows too much, like any author. A second pair of eyes with no context is the missing check, and it has to run before you merge.
- Give the agent a public preview address, not a laptop address, so a test can open it.
- Tell the agent the task a stranger would try, in the stranger's words.
- Ask it to read the report and fix the most common problem first.
- Rerun the same visitors after the fix and compare who got further.
- Keep your scripted tests: they check the paths someone wrote down.
Route one: the agent drives a browser it controls
Claude Code can use a browser tool you connect, open your local app, click through it and read what it sees. This is good for a fast check inside the loop: did the button render, did the form submit, is there an error in the console. It is the agent following steps the agent understands. It runs against what the agent was told, on the machine you work on, as one user: itself. Use it to catch your own breakage while you build, before anyone else needs to look.
Route two: an MCP server that sends strangers through
Mimiq has an MCP server that a coding agent such as Claude Code can call. The agent gives it a public address and a task in plain words, such as finding the monthly price and starting a free trial. Visitors with different profiles go through the flow in real browsers. The agent reads back the report: the problems ranked by how many visitors hit them, the step, a screenshot and a fix prompt it can act on. One free test needs no key. More need a key from your account settings.
Run it on the preview, not on your laptop
A test needs a public address. A local server on your laptop is not one, so push the branch and use the preview deploy, or open a temporary tunnel to the local port. If the preview is protected by a password or a bypass secret, the visitors can open it with paid credits. Tell the agent the preview address and ask it to run after each user facing change. A rule in the agent's instructions file, saying so in a line or two, does this without being asked every time.
What the loop does not replace
Visitors do not replace the tests you wrote. A script checks the paths someone wrote down, and it fails the same way every time, which is what a regression suite needs. Visitors find the paths nobody wrote down. They also do not sign in with Google, pay with a real card or open an installed app, and they do not predict conversion. Treat the report as a check people read next to the scripted tests, not as a gate that blocks a merge.
What you get with Mimiq
- 01
Run it by hand, or on every pull request
Paste a link and a task in the app and watch the visitors work. Or run them on every preview deploy: the GitHub Action comments on the pull request, any other CI can call the MCP endpoint, and your coding agent can run it too.
- 02
Bugs and usability problems in one report
The browser records errors and failed or slow requests on the step they happened. The visitors say where the wording or the steps confused them, and where they left.
- 03
Visitors that behave like your audience
Each visitor is a different profile with a reason to be there, matched to who the page is for, described by you, or built from your own customers.
- 04
A prompt to fix each problem
Every problem comes with a fix to paste into Cursor, Claude Code, Lovable or any coding agent, and one prompt hands over the top problems at once. Then send the same visitors through again.
- 05
Follow every visitor
See each visitor's whole path, step by step with screenshots, and what it was thinking at every step. Ask any visitor a question.
The browser records relevant JavaScript errors and failed or slow app requests encountered during the run, attached to the step where they occurred. The visitors are simulated: they find problems, they do not predict how many real people will convert.
Each agent change can break what the last fix repaired
A coding agent rewrites pages as it fixes others, so yesterday's repaired step can break today. Rerun the same visitors after each change, on each preview, and compare who got further. Paid credits let visitors sign in with a test account you give them, which is the only way to test the logged in half of your app.
Starter
Try it on one launch
24 visitors, about 4 tests of 5
- Visitors on your landing page, signup and checkout
- Where they left and why, with a fix to copy for each problem
- Run it in the app or on every pull request
- Ask any visitor a question, included
- Test accounts and protected previews
Builder
Test every build
100 visitors, about 20 tests of 5
- Everything in Starter
- Credits refill each month, and what is left rolls over once
- Cancel anytime
Pro
Test every release, as a team
300 visitors, about 60 tests of 5
- Everything in Starter
- Credits refill each month, and what is left rolls over once
- Cancel anytime
Scale
Test at scale, every day
1,200 visitors, about 240 tests of 5
- Everything in Starter
- Credits refill each month, and what is left rolls over once
- Priority support
- Cancel anytime
Questions
Does Claude Code need a key to run a Mimiq test?
One free test works without a key. After that, tests use credits from your account, and you create a key in your account settings and give it to the MCP server. Check the MCP page for the current steps.
Can Claude Code test a page on localhost?
A test needs a public address, so localhost does not work directly. Use a preview deploy, or open a temporary tunnel to the local port and give the agent that address. Close the tunnel when the test ends, because the page is public while it runs.
Is this a replacement for end to end scripts?
No. Scripts check the paths someone wrote down and fail the same way every time. Visitors check whether a stranger gets through, including paths nobody scripted. Run both, and read the visitors' report next to your test results.
Will the report tell Claude Code how many users sign up?
No. It does not predict conversion or give a rate. It reports what broke or confused a visitor, with the step and a screenshot. Rates come from analytics or a live experiment.
What can the visitors not test in my app?
They cannot sign in with Google or single sign on, pay with a real card, receive a text message, or open an installed app. A checkout test stops at the payment step. Check those on a real device.
Keep reading
Send visitors and see what breaks first.
Your first test is free: sign in with Google or email and it starts right away. Last checked 2026-12-03.