TL;DR
As "vibe coding" allows anyone to build web applications from natural language prompts, verifying the quality of AI-generated code has become a major bottleneck. This paper introduces WebTestBench, a benchmark designed to evaluate computer-use agents on end-to-end automated web testing by requiring them to both generate test checklists and detect defects. The results are a sobering reality check: even the most advanced large language models (LLMs) score below 30% F1, revealing a massive gap between current agent capabilities and industrial-grade software QA demands.
What Problem Does This Paper Address?
The rise of LLMs has enabled non-experts to generate complete, functional web applications from simple text instructions. However, these AI-synthesized applications are rarely flawless on the first try, often suffering from subtle functional omissions or visual bugs. For creators without a software engineering background, verifying the reliability of these applications is incredibly difficult.
Existing automated evaluation methods fall short. They either rely on static visual similarity (which ignores dynamic behavior) or depend on rigid, human-written checklists that cannot adapt to open-ended development environments. Crucially, prior work completely overlooks latent logical constraints—rules that aren't explicitly stated but are vital for an app to make sense (for example, ensuring a meeting room booking system doesn't allow double-booking for overlapping times).
To bridge this gap, the authors tackle the challenge of checklist-free, end-to-end automated web testing, where an AI agent must look at a development prompt, figure out what needs testing, interact with the web app like a human, and find the bugs.
Methods
The authors formalize end-to-end web testing as a two-stage cascaded task:
- Checklist Generation: Given a user's initial development instruction, the agent decomposes it into a structured set of verifiable test items. Each item is defined as a triple: a textual description, the action to perform (e.g., clicking a button), and the expected outcome.
- Defect Detection: The agent executes these test items by simulating human interactions (clicking, typing, navigating) within a live browser environment and outputs a binary
PassorFailverdict for each item, along with a bug report for failures.
To evaluate current LLMs on this task, the authors introduce WebTester, a baseline framework built on top of the Claude Code agent SDK. It utilizes a Playwright Model Context Protocol (MCP) server to give the LLM agent direct browser automation capabilities, allowing it to interact with the Document Object Model (DOM) of the target web application.
Datasets
The paper introduces WebTestBench, a meticulously annotated benchmark consisting of:
- 100 Web Applications: Synthesized using the AI-driven development platform Lovable.dev based on real-world trending web app ideas. The apps span 7 distinct categories: Presentation, Search, Tool, Commerce, Data Management, Workflow, and User-Generated Content (UGC).
- 1,750 Gold Test Items: Human-annotated test cases distributed across four quality dimensions:
- Functionality: Core user tasks under normal conditions.
- Constraint: Robustness under abnormal/boundary conditions (e.g., input validation, logical conflicts).
- Interaction: Experiential quality and dynamic feedback (e.g., toast notifications, UI state changes).
- Content: Semantic alignment and accuracy of displayed text/media.
Key Insights and Ideas
- The Checklist Bottleneck: For closed-source models, the primary point of failure isn't necessarily the browser interaction—it's the initial checklist generation. Models consistently achieve less than 70% coverage, frequently omitting implicit requirements and corner cases that weren't explicitly spelled out in the prompt.
- Default-Correctness Bias: Agents suffer from low recall in defect detection because they default to a "Pass" judgment if they don't observe glaring, explicit errors, causing them to miss subtle logical bugs.
- Operational vs. Semantic Verification: LLMs excel at operation-driven verification (e.g., checking if a row was added to a data table) but struggle immensely with understanding-driven verification (e.g., judging whether search results are truly relevant to a query or if user-generated content aligns semantically with the theme).
- Long-Horizon Interaction Fatigue: Comprehensive testing requires dozens of browser steps and millions of tokens. As the interaction history grows, agents suffer from tracking failures, losing track of prior states, and executing redundant loops.
Key Results
The evaluation of leading open-source and closed-source LLMs yielded a clear conclusion: automated web testing is currently too difficult for state-of-the-art models.
- End-to-End Performance: All evaluated models scored below 30% F1. GPT-5.1 achieved the highest overall F1 score at 26.4% (driven by a top recall of 33.3%), while MiMo-V2-Flash achieved the highest precision at 34.8%.
- The Oracle Setting Revelation: To isolate browser interaction capabilities from checklist generation, the authors ran an "Oracle" experiment where models were directly handed the human-written gold checklist. Performance skyrocketed: Claude Sonnet 4.5 jumped to 49.2% F1 and GPT-5.1 reached 46.8% F1. This massive delta confirms that improving an agent's ability to anticipate implicit software requirements is key to unlocking better testing.
Limitations and Future Work
While WebTestBench marks a significant step forward, the authors note several limitations:
- High Construction Cost: Identifying latent logical constraints and refining the benchmark applications requires significant human expertise and labor, making it difficult to scale.
- Rigid Evaluation Alignment: The scoring system relies on aligning predicted test items to a gold standard, meaning valid, creative test cases generated by the agent that fall outside the gold checklist are not rewarded.
- Exclusion of Highly Dynamic Apps: The benchmark currently excludes complex real-time systems (like games or multi-user collaborative tools) that require high-frequency state capture, which remains beyond the perceptual latency limits of current computer-use agents.
Summary updated