103 / 168 · 01 Agent Skills for Browser Automation · Self-Healing Strategies for Agent-Driven Tests← prev⊞ allnext →☰ Read as one page
14.3Recovery Strategy Matrix
| Failure Type | Detection | Recovery | Cost |
|---|---|---|---|
| Element renamed/moved | Stale ref | Re-snapshot, match by role + accessible name | Low |
| Page restructured | Multiple refs gone | Snapshot + screenshot analysis | Medium |
| Loading issue | Snapshot nearly empty | Wait for content, re-snapshot | Low |
| Modal/overlay blocking | Actionability failure | Close overlay first (it's in the snapshot) | Low |
| Complete redesign | Flow no longer matches plan | Healer agent session; possibly re-plan | High |
| Authentication expired | Redirect to login in snapshot | Re-authenticate (seed flow) | Medium |
| App actually broken | Recovery keeps failing | Stop healing. File the bug. | — |