The button is still there. Your locator just cannot find it anymore.
After a release, a test cannot find a button even though users can still see it. For suitable locator issues, TestZombie can identify a reliable replacement and show you what changed.
Common causes of broken locators
During a UI redesign, IDs, text or element positions may change. The test still looks for the old element and fails even though users can still use the feature.
Web locators
Stabilize Selenium and Playwright when IDs, CSS, XPath, roles, labels and text change.
Mobile locators
Support Appium when accessibility IDs, resource IDs and mobile UI hierarchies change.
Do not replace blindly
Candidates are evaluated from multiple signals; if confidence is too low, the failure remains.
Turn “element not found” into controlled healing
Detect the failure
The test reports that the original locator no longer returns the expected element.
Reconstruct the target
TestZombie uses existing context to evaluate potential target elements.
Document healing
A robust replacement can be used and stored for review or source-code update.
Broken locator FAQ
Is a broken locator automatically a flaky test?
Not necessarily. A locator can become deterministically broken after a UI change, while self-healing still addresses the same maintenance problem.
Which frameworks does TestZombie cover?
The public product experience presents self-healing for Selenium, Playwright and Appium.
What happens with an uncertain candidate?
If no sufficiently confident replacement exists, the test should fail rather than use the wrong element.
Keep your existing tests alive longer.
Keep your Selenium, Playwright or Appium tests and add self-healing, failure analysis and optional code maintenance.