WebUIProof: Benchmarking WebUI Code Generators with UI-Agent Execution Harness
Organizations: Columbia University · Meta SuperIntelligence Labs
Abstract
Evaluating WebUI code generation at scale is difficult: outputs may compile and look plausible yet fail under user interaction, and prior benchmarks largely rely on free-form prompts with static checks (build success, screenshots) that miss functional correctness. We introduce WebUIProof, an execution-oriented benchmark that provides structured specifications and dense, executable interaction tests for WebUI generation across two task families: general WebUIs (e.g., dashboards, game, interactive tools) and 3D interactive simulation (e.g., particle/galaxy systems, physics dynamics). WebUIProof includes a UI-agent harness that runs executable interaction tests in a headless browser using an iterative plan--act--observe loop: it locates DOM elements, performs actions, observes resulting UI/DOM changes, and checks the specified assertions. We evaluate across eight commercial LLMs and observe frequent failures on interaction-based requirements even when pages render successfully, especially on 3D simulation interfaces. Finally, we show the UI-agent harness can provide outcome-level training signals. Training compact models (e.g., Qwen2.5 14B and MIMO 7B) with RL rewards derived from executable interaction tests improves functional completion while reducing build failures.
Figures & tables
| Benchmark | #Instr. | Instr. Form | Instr. Type | Instr. Length | Output Scope | UI Topic | UI Agent Eval. | #Tests | TCR(%) |
| DesignBench Xiao et al. (2025) | 900 | NL prompts | Gen./Edit/Repair | 80-150 | Single file (HTML) | General | ✗ | 0 | 0% |
| WebDev-Arena Zheng et al. (2024) | 10k | NL prompts | Gen. | 60 | Repo (App) | General | ✗ | 0 | 0% |
| FrontendBench Zhu et al. (2025) | 148 | NL prompts | Gen. | 50-100 | Single file (HTML) | General | ✓ | 148 | 90% |
| WebGen-Bench Liu et al. (2024b) | 101 | NL prompts | Gen. | 40-70 | Repo (App) | General | ✓ | 600 | 49.24% |
| WebUIProof (Ours) | 219 | Structured Spec. | Gen. | 270-550 | Repo (App) | General+3D | ✓ | 3k | 97.23% |
| Model Source | Model Name / Training Variant | Build Failure Rate (%) | Build Success – UI-Agent Verified Task Outcome (%) | Accuracy (%) (Full + 0.5 Partial) | ||
| No Completion | Partial Completion | Full Completion | ||||
| Proprietary (API) | Claude Sonnet 4 Anthropic (2025) | 30.37 | 12.59 | 22.10 | 35.05 | 46.10 |
| Gemini 2.5 Pro DeepMind (2025) | 32.21 | 15.02 | 20.38 | 32.67 | 42.86 | |
| Qwen 3 Coder 480B Alibaba Cloud (2025) | 33.05 | 13.92 | 20.76 | 31.62 | 41.99 | |
| DeepSeek R1 DeepSeek (2025) | 32.89 | 14.91 | 20.51 | 31.65 | 41.90 | |
| GPT 4.1 OpenAI (2025) | 36.58 | 11.67 | 20.30 | 31.25 | 41.40 | |
| Model Source | Model Name / Training Variant | Build Failure Rate (%) | Build Success – UI-Agent Verified Task Outcome (%) | Accuracy (%) (Full + 0.5 Partial) | ||
| No Completion | Partial Completion | Full Completion | ||||
| Proprietary (API) | Claude Sonnet 4 Anthropic (2025) | 0.00 | 49.66 | 20.21 | 30.14 | 40.24 |
| Qwen 3 Coder 480B Alibaba Cloud (2025) | 1.43 | 51.37 | 17.12 | 29.11 | 37.67 | |
| Gemini 2.5 Pro DeepMind (2025) | 0.00 | 54.79 | 18.49 | 26.71 | 35.96 | |
| Kimi K2 Moonshot (2025) | 0.00 | 54.79 | 20.21 | 25.00 | 35.10 | |
| Llama 4 Maverick Meta (2025) | 0.00 | 59.93 | 15.75 | 24.43 | 32.19 | |
Appendix figures & tables29 assets
Supplementary material from the paper’s appendix.
Appendix
| Action Type | Detail |
| Click | Click any web element identified by its numerical label (e.g., Click [0]) |
| Type | Clear textbox and input content (automatically hits ENTER) (e.g., Type [0]) |
| Scroll | Scroll specific element or entire window (e,g, Scroll WINDOW up / down) |
| Hover | Hover for tooltips/effects, with precise coordinate positioning for charts (e.g., Hover [0:75,50] for 75% from left, 50% from top) |
| Wait | Pause for 5 seconds (for loading processes) |
| GoBack | Navigate to previous webpage |
| Model Name | Build Failure Rate (%) | Test Category | Build Sucess UI-Agent Verified Task (%) | Accuracy (Cat. %) | ||
| No Completion | Partial Completion | Full Completion | ||||
| Claude Sonnet 4 Anthropic (2025) | Functionality Testing | 10.15 | 23.86 | 30.28 | 42.21 | |
| 30.37 | Data Display Testing | 15.04 | 15.76 | 43.41 | 51.29 | |
| UI Design Validation | 18.52 | 29.63 | 37.03 | 51.85 | ||
| Gemini 2.5 Pro DeepMind (2025) | Functionality Testing | 16.15 | 19.44 | 22.47 | 32.19 | |
| 32.21 | Data Display Testing | 12.89 | 17.19 | 51.58 | 60.17 | |
| Training Variants of Qwen 2.5 14B Instruct | Build Failure Rate (%) | Test Category | Build Sucess UI-Agent Verified Task (%) | Accuracy (Cat. %) | ||
| No Completion | Partial Completion | Full Completion | ||||
| Baseline SFT | Functionality Testing | 7.75 | 10.71 | 20.66 | 26.01 | |
| 56.25 | Data Display Testing | 14.33 | 14.33 | 21.49 | 28.65 | |
| UI Design Validation | 18.52 | 11.11 | 18.52 | 24.07 | ||
| PPO W/ Vision agent | Functionality Testing | 12.87 | 11.05 | 34.38 | 39.90 | |
| 41.42 | Data Display Testing | 14.33 | 7.30 | 28.65 | 32.31 | |
| Model Name | Build Failure Rate (%) | Test Category | Build Sucess UI-Agent Verified Task (%) | Accuracy (Cat. %) | ||
| No Completion | Partial Completion | Full Completion | ||||
| Claude Sonnet 4 Anthropic (2025) | Functionality Testing | 53.15 | 16.79 | 30.08 | 38.47 | |
| 0.00 | Data Display Testing | 21.43 | 42.86 | 35.71 | 57.14 | |
| UI Design Validation | 68.35 | 6.33 | 25.32 | |||
| Qwen 3 Coder 480B Alibaba Cloud (2025) | Functionality Testing | 55.25 | 18.87 | 27.27 | 36.71 | |
| 1.43 | Data Display Testing | 40.00 | 25.71 | 34.29 | 47.14 | |
| Training Variants of Qwen 2.5 14B Instruct | Build Failure Rate (%) | Test Category | Build Sucess UI-Agent Verified Task (%) | Accuracy (Cat. %) | ||
| No Completion | Partial Completion | Full Completion | ||||
| Baseline SFT | Functionality Testing | 52.16 | 12.82 | 19.74 | 26.16 | |
| 0.00 | Data Display Testing | 48.57 | 25.71 | 25.71 | 38.57 | |
| UI Design Validation | 68.35 | 12.66 | 18.99 | 25.32 | ||
| PPO w/ Vision agent | Functionality Testing | 59.38 | 27.97 | 20.96 | 34.95 | |
| 0.00 | Data Display Testing | 21.43 | 35.71 | 28.57 | 46.43 | |
Code Generation
Code generation studies methods for turning natural-language, visual, or formal specifications into executable programs and code edits.
See all 313 papers