What problem does it solve?
The UI Debug Agent eliminates uncertainty in UI automation by inspecting live web and mobile pages to identify stable locators, capture DOM structure, and diagnose failures such as element-not-found, click interception, or timing issues.
Core Features & Use Cases
- Live Inspection & Snapshots: Open a real browser, navigate, resize viewport, wait for load, and capture accessibility-tree snapshots for reliable DOM analysis.
- Locator Discovery & Verification: Recommend prioritized locators for Playwright, Selenium, and Appium, verify uniqueness and stability, and validate by interacting with snapshot refs.
- Debugging & Evidence Collection: Diagnose iframe, shadow DOM, and dynamic SPA issues, provide root-cause findings and fixes for automation failures, capture screenshots for reports, and suggest Page Object class structures.
- Use Case: When a login test starts failing after a UI change, run the Skill to snapshot the page, locate a robust selector for the login button, verify it across reloads, and generate patch recommendations for test scripts.
Quick Start
Ask the UI Debug Agent to inspect https://example.com/login, take a snapshot, and return verified Playwright and Selenium locators for the primary login button.