TL;DR
Coding agents can now spin up interactive web apps in minutes, shifting the software bottleneck from writing code to verifying that it actually works on screen. GUITAR-Bench tests whether visual AI agents can explore a live app with zero instructions, figure out what "correct" behavior should look like on the fly, and catch subtle UI bugs. Spoiler: even the best frontier agents miss over a quarter of the bugs—often staring right at a broken feature and assuming it is working just fine.
What Problem Does This Paper Address?
When LLMs generate code at near-zero marginal cost, unit tests aren't enough—many bugs only appear when pixels hit the screen and a user starts clicking around.
Traditionally, automated GUI testers (like Android's Monkey) just mashed buttons randomly and watched for hard crashes. Vision-Language Model (VLM) agents are much smarter, capable of reading screens and interacting meaningfully. However, existing GUI benchmarks fall into two camps:
- Goal-oriented assistants: Given an instruction ("Create an issue"), they assume the app is bug-free. If something breaks, the agent blames itself and retries.
- Oracle-guided testers: A human writes a test case and an oracle (a specification of the expected outcome), and the agent merely checks the box.
In reality, fresh apps rarely come with hand-written test suites. We need oracle-free GUI traversal testing: hand an agent a running app, give it an action budget (say, 300 clicks/types), and tell it, "Explore and report any defects." The agent must invent its own test intents and construct its own mental oracles. Until now, we had no reliable, realistic way to measure this capability.
Methods
To build a benchmark without spending months manually annotating bugs—or relying on unrealistic, toy code mutations—the authors built an clever, automated defect synthesis pipeline:
- Mining Real Fixes: They scraped 3,595 real GUI bug-fix commits across 22 open-source repositories and used an LLM to distill them into 26 app-agnostic defect patterns (spanning display issues like overflowing text, and interaction bugs like dead buttons or stale states).
- Mapping Injectable Sites: A static scanner tags source-code elements with IDs, and a crawler explores the live app to ensure those code sites actually render reachable UI elements on screen.
- Contextual Injection: An LLM acts as a mischievous developer, editing a reachable site to introduce a bug matching one of the 26 patterns, while writing a "defect account" and a reproduction script.
- Differential Replay (The Secret Sauce): No bug makes the cut on an LLM's word alone. The pipeline boots both the clean app and the defective app, replays the reproduction script on both, and checks the screenshots. A bug is admitted only if the symptom visibly appears on the defective instance and not the clean one. Human annotators later audited the output, passing 92% of the checked defects.
Datasets
The paper introduces GUITAR-Bench, comprising 20 web applications seeded with 95 human-verified GUI defects:
- 10 real open-source GitHub projects (reflecting human-written code conventions).
- 10 AI-generated mock apps from CUA-Gym-Hub replicating commercial frontends like Gmail and Notion.
Unlike prior datasets that rely on expensive manual curation or synthetic spec-derived bugs, GUITAR-Bench aligns its bug categories with real-world frequencies, intentionally sampling both deep bugs (3+ clicks from the landing page) and far bugs (where the symptom only appears after navigating away from the screen where you triggered it).
Key Insights and Ideas
- Exploration $\neq$ Testing: Getting to the bug isn't the bottleneck anymore. Agents frequently navigate deep into an app, look directly at a broken feature, or even trigger it—and walk right past. For instance, an agent converted
421in a Roman numeral app, gotCDXX(420), noted "works normally," and moved on. Another saw a creation dialog fail to close and rationalized it as "meant for batch creation." - "Far" symptoms break agent memory: Every agent struggled massively when a bug's symptom appeared on a different screen than the trigger (e.g., creating an issue on a board, then opening the Issues tab to discover the author attribution is wrong). Maintaining an oracle across multiple steps is a major open challenge.
- The harness matters as much as the model: Running the exact same model (Opus 5.5) inside a rich commercial agentic harness (Claude Code, with built-in planning and memory) nearly doubled bug detection compared to a standard ReAct loop—mostly by helping the agent recognize bugs it had already triggered.
Key Results
Agents interacted purely via screenshots and pixel coordinates under a 300-action budget:
- Wide performance spread: Recall ranged from 6.3% (Doubao-Seed-2.1-Turbo) to 72.6% (Claude Code backed by Opus 5.5).
- Harness vs. Model: In a controlled, lightweight ReAct harness, Opus 5.5 led at 42.1% recall, followed by DeepSeek-V4-Pro (27.4%) and Gemini 3.8 Flash (25.3%). Upgrading Opus 5.5 to the Claude Code harness jumped recall by 30.5 percentage points (to 72.6%), even though both setups reached over 83% of the defective UI screens.
- Near vs. Far: Even the strongest agent (Claude Code) dropped from 74.7% recall on near defects to 50.0% on far defects.
- Closing the repair loop: Are these bug reports actually useful? When the authors fed Claude Code's 69 detected bug reports to a developer agent, 67 of 69 (97.1%) were successfully repaired.
Limitations and Future Work
- Unmeasured Precision: Because real open-source apps inevitably harbor pre-existing, undocumented wild bugs, an agent report that doesn't match one of the 95 injected defects isn't necessarily a false alarm. Consequently, the main evaluation focuses on recall (deferring precision analysis to the appendix).
- Scope: The benchmark is restricted to 20 web applications to keep execution reproducible and tractable, though the synthesis pipeline can theoretically generalize to any web app with source code.
- Next Steps: Throwing bigger action budgets (up to 500 steps) yielded diminishing returns. Future progress requires teaching agents how to actively form test hypotheses, maintain cross-screen state assertions, and stop giving buggy environments the benefit of the doubt.
Summary updated