Test a page or flow
Website visual regression testing: pixel diffs
A pixel comparison tells you the page looks different from the last approved version. It does not tell you whether a stranger can finish the task on it.
What is website visual regression testing?
Website visual regression testing takes a screenshot of each page at a fixed width and compares it with an approved screenshot taken earlier, flagging any pixel that changed. It catches moved buttons, changed fonts, broken images and layout shifts that a person might miss in a long page. It cannot tell whether the button still does anything, or whether a visitor can finish the task. Use it to catch changes in how a page looks, and use a path test to check whether the page still works.
What this looks like in a report
“The button is right where the photo says it is, and I tapped it twice. Nothing changed in the cart. The page looks fine, so I assume the cart is broken or the desk is out of stock.”
The fix. Restore the click handler on the Add to cart button and check that the cart count changes after a tap. Keep the pixel comparison for the layout, and add a path row that taps the button and reads the cart total.
An illustration. Run a test to see your own.See a real sample report
The diff flags a date in the header, and misses the button that does nothing
A pixel comparison works on everything at once. It flags a date in the header that changes each day, an ad slot that loads a different image, and a font that arrived a fraction of a second late, and it asks a person to read every flag. Meanwhile the one change that matters can pass without a flag: a button that is visible in the same place and no longer submits, because its handler was removed. The screenshot is identical, so the diff is clean. Visual comparison answers whether the page looks the same, and that is a different question from whether it works.
- Fix the viewport width and browser for each comparison, so a setup change does not look like a page change.
- Mask the parts that change on their own, such as dates, counters, ad slots and rotating banners, before comparing.
- Approve each change on purpose, and write the reason beside it, so the baseline does not drift without a record.
- Check each flagged region on a phone width too, since a layout that passes on a laptop can cover a button on a phone.
- Confirm that the button or field in a flagged region still does its job with a separate path test.
The pixel diff reads the image, not the code
A visual comparison reads the rendered image of a page. It sees position, size, color, text and the presence of an element. It does not see the code behind an element, so a button with a removed handler looks the same as a working one. It also does not see timing: a menu that takes a full second to open can look right in a still frame. These limits are why a visual check is a check of appearance, and why a page that passes it can still fail the task a customer came to do.
Dynamic content makes the diff noisy until you mask it
Most of the flags on a real site come from parts that change on their own: the year in a footer, a live counter, an ad that rotates, a carousel that starts on a different slide, and a timestamp on a blog post. Left unmasked, these flags bury the real change. Mask them, which means telling the comparison to ignore those regions, and write down which regions you masked. A mask that covers too much hides real changes, so review the masked regions when the page changes.
When a visual check is the right tool, and when it is not
Use a visual comparison when the risk is the look: a redesign, a new font, a change to a shared stylesheet or a template that feeds many pages. Use a path test when the risk is that a step fails: a form, a checkout, a sign-in or an add-to-cart button. Most sites need both. The visual check catches a stylesheet change across forty pages in one run. The path test catches the handler that was removed from one button. Running one and assuming the other is covered is the common mistake.
Check the same region on a phone, not only a laptop
A comparison at one width says nothing about the layout at another. A menu that fits on a laptop can wrap into two lines on a phone and push a button below the fold, and a sticky bar can cover a field. Take the screenshot at a phone width as well, and compare it with its own baseline. A simulated visitor in a phone-sized touch browser shows the step where a stranger stopped on that layout, with a screenshot, which is a different check from the pixel comparison and worth running alongside it.
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.
A new banner or ad slot can flag every page at once
Ad networks, consent banners and chat widgets change size and content on their own. Each change can flag every page in a comparison, and a flood of flags teaches a team to approve without reading. Rerun the path tests after each change to a shared part, and rerun the visual comparison with the masks reviewed, so the flags you read are the ones that matter.
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 visual regression testing find broken buttons?
Not by itself. A broken button that looks the same passes a pixel comparison. Find it with a path test that clicks the button and reads the result on the next screen.
Is a simulated visitor a visual regression test?
No. A visitor runs a task and reports where it stopped, with a screenshot of that step. It does not compare each page against a stored image. Use it for the question of whether the task can be finished.
How often should I approve a new baseline?
Approve a change when you made it on purpose, and write the reason beside the approval. Do not approve a flag you have not read, because a baseline that absorbs an accidental change hides the next one.
Can a visual test run on my installed mobile app?
No. It compares pages in a browser at a public address. An installed app has its own screens, which you check on a real device, because the comparison cannot open them and does not judge how they look.
Does the path test show that the layout is right?
Only that the steps worked and where a visitor stopped. A layout can be off without stopping anyone. Compare the screenshots at each width yourself for the layout, and use the path run for the steps.
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.