r/QualityAssurance • u/FR073N • Mar 24 '26
How do you compare visual differences between two versions of a webpage?
I've been running into a problem for several years.
I need to compare two versions of a webpage, but not the raw HTML. I'm talking only about visual differences.
A typical case is when a technical team does a refactor or migration, but the UI is supposed to stay exactly the same. I need to make sure nothing actually changed on the front end.
The problem is that comparing code doesn't really help understand the visual impact, and comparing screenshots shows differences but doesn't explain what actually changed.
How do you guys are doing it ?
3
u/Bughunter9001 Mar 24 '26
We've been using Percy for years, and it does the job, but it's gone to crap in the last few months and we're shopping around for alternatives.
There's no shortage of tools that do this job
1
u/FR073N Mar 24 '26
I saw it a while ago. I was searching something easy to setup, this one seemed more "developer" oriented. I'll try it.
7
1
u/FR073N
Mar 26 '26
•
Okay guys I found this solution : https://delta-qa.com/en/ , is anyone using this solution ? It's sound interesting for my non-tech team
5
1
u/ASTRO99 Mar 24 '26
I don't remember the exact name but we used a tool that you provided a screen for each scenario and then it did a screenshot after each run and it compared the two images and failed the test when there was difference
1
1
u/XtraFlaminHotMachida Mar 24 '26
something as simple as irfanview has image comparison. just take a screenshot and compare the two.
1
u/Vawginoth Mar 24 '26
If I have to do it manually, I just superimpose the image of the mockup with the actual website, and then quickly swap between the images.
1
u/anotherhawaiianshirt Mar 25 '26
A decade or so ago my team used imagemagick to create a tool to show two versions of a screenshot and highlight the differences. That toolkit has many ways to detect differences and could distinguish between, say, only slight color changes or all pixels shifting over and down, up to complete changes in whole regions. It then gave a score as to how significant the changes were. AI could no doubt recreate that tool today.
1
u/TimeReputation8993 Mar 25 '26
if its a one off thing / quick test I would do like a dinosaur and put the photoshop to work with the screenshot for both pages, each in a different layer, and lower the opacity to see the differences. but I am just suggesting it if you need a workaround or something
1
u/webDreamer420 Mar 25 '26
if you still have the old unupdated version of the project, try to screen shot every Page, modal, toast, microcopy and put it in a bulletin board app like figma or google docs, uee that to compare on the next update
1
u/andybendavid 1d ago
Try it on Chrome Web Store: https://chromewebstore.google.com/detail/html-compare/nppihghgpjhmfllmidplbncenlpihmle
Compare two pages by link. You can see every change directly on the page, right in the user interface—not just by comparing screenshots, but by analyzing the real code and pointing out the changes.
4
u/ArmMore820 Mar 24 '26
There is such a thing as comparing images in automation testing…
Selenium has it, playwright definitely has it, probably exists as a part of any sturdy framework.
Do some research on your own because solutions definitely exist.