Use Visual Accessors for Mobile Testing
Use this article when mobile tests need visual matching because a stable DOM, accessibility ID, or native locator is not available.
Validation workflow
- Try a stable native, accessibility, or DOM locator first when the app exposes one.
- Use a tightly cropped visual accessor only for the element region that must be matched.
- Replay on the target device profile and confirm the match survives expected resolution, orientation, and theme variations.
Last updated: September 30, 2026