Self-healing locators and visual AI, and their risks
Some tools repair a broken test by themselves and judge screenshots like a person. Learn what they do, how they can hide a real bug, and how to keep them honest.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a satnav that reroutes silently. You drive to the shop on a Saturday. A road is closed. The satnav quietly picks another way and you arrive. That is wonderful. But now imagine it quietly picks a different town because the shop's name matches. You only notice when you get out of the car.
Daily List is a to-do list app. Tom, the tester, has a test that clicks the Add task button. Leo, the developer, changes the button's name inside the code. A normal test fails at once, because it cannot find the old name.
Some tools heal such a test. They look for a close match, click it and carry on. That saves Tom a morning of repair work. But if the match is wrong, the test still turns green. A green test then tells Tom less than he thinks.
The picture has limits. A satnav shows you a map and you can see the change. Many test tools give only a quiet note in a report. Whether you notice depends on whether you look.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named here are made up.)
PLAIN WORDS · 1 in this section
- satnav
- A small device or phone app that gives driving directions.
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Letting a tool repair a broken test so that work continues, while a person still checks that each repair points at the right thing.
- Locator breaks
- Tool picks a match
- Person reads the heal
- Outcome check passes
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The satnav | The self-healing tool |
| The closed road | The locator that no longer works |
| The new route it picks | The repair |
| Checking the town name on arrival | The healing audit and the outcome check |
WHERE THIS PICTURE STOPS
- A satnav shows you a map, but many test tools give only a quiet line in a report.
- A satnav knows the real place names. A test tool only compares clues, so it can mistake a look-alike for the real thing.
- You choose your own destination. A test tool has no idea what the test is for.
HOOK
Heal, then check the town name.
REMEMBER IT THIS WAY
A rule of thumb: if you see this, think that.
If a tool healed a test, usually open the healing note and check the outcome before you trust the green.
| In the trick | What it stands for |
|---|---|
| Healed | Look for a close match, click it and carry on |
| Healing note | A quiet note in a report |
| Wrong match | The test still turns green |
Many tools give only a quiet note in a report, so you may have to go looking for it.
TELL A FRIEND
A satnav that quietly picks a new route is great, until it drives you to the wrong town because the names look alike.
OFTEN MIXED UP WITH Visual regression testing. The visual regression lesson compares screenshots with a plain method. This lesson adds the tools that repair tests and judge screenshots, and the risks of both.
Sources & standards — 4 sources
- Market practice
Self-healing tests are table stakes, and most of them aren't real ↗ — Bug0 · Self-healing that picks a similar element can pass against the wrong one, so heals should be visible as reviewable changes (vendor blog, search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Self-Healing Test Automation: Benefits, Pitfalls and How to Avoid Masked Regressions ↗ — T-Plan · A test that heals around a real change can hide a bug; log healed locators and confidence, and review them (vendor guide, search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Core concepts (Applitools Eyes documentation) ↗ — Applitools · The vendor says pixel-by-pixel comparison raises false alarms from small rendering differences, and offers match levels such as strict, layout and content, plus masks for changing areas; no independent benchmark was found (vendor documentation, search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Visual comparisons (Playwright documentation) ↗ — Microsoft · Playwright compares a screenshot with a saved baseline image and lets the tester set how many differing pixels are allowed (search excerpt, page not opened)
Primary source opened and operative text inspected on 6 November 2026. Scope: Complete extracted primary article; examples inspected, not executed. Current live Playwright documentation reflects 1.65 where stated; explicit older examples retain their version. Source inspection is not an execution or compatibility-test claim. See the completed v45 Playwright analysis for source discrepancies and exact reading boundaries.
PRACTISE AND KEEP
Sources for this topic — 4 sources
- Market practice
Self-healing tests are table stakes, and most of them aren't real ↗ — Bug0 · Self-healing that picks a similar element can pass against the wrong one, so heals should be visible as reviewable changes (vendor blog, search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Self-Healing Test Automation: Benefits, Pitfalls and How to Avoid Masked Regressions ↗ — T-Plan · A test that heals around a real change can hide a bug; log healed locators and confidence, and review them (vendor guide, search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Core concepts (Applitools Eyes documentation) ↗ — Applitools · The vendor says pixel-by-pixel comparison raises false alarms from small rendering differences, and offers match levels such as strict, layout and content, plus masks for changing areas; no independent benchmark was found (vendor documentation, search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Visual comparisons (Playwright documentation) ↗ — Microsoft · Playwright compares a screenshot with a saved baseline image and lets the tester set how many differing pixels are allowed (search excerpt, page not opened)
Primary source opened and operative text inspected on 6 November 2026. Scope: Complete extracted primary article; examples inspected, not executed. Current live Playwright documentation reflects 1.65 where stated; explicit older examples retain their version. Source inspection is not an execution or compatibility-test claim. See the completed v45 Playwright analysis for source discrepancies and exact reading boundaries.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.