Dom & Domer
A benchmark for web agents
Abstract
When a web agent fails a task, it helps to know whether it chose the wrong element or its action produced the wrong result. We built Dom & Domer to score those two outcomes separately. The benchmark includes 140 click, type, and type-and-submit tasks across 35 websites. Each task has a reference HTML element and a screenshot of the intended end state.
Task and page
Instruction + cleaned HTML
inputElement choice
Compare with the reference element
20% of scoreResulting page
Compare with the expected end state
80% of score1 Method
Record the expected interaction
We performed each task by hand, recorded the relevant HTML, and captured the final page. The tasks ranged from clicking a link to typing into a search field and submitting the query.
Run and score the action
A model read the task and a cleaned version of the page HTML, then returned a structured action. Selenium ran that action in a browser. A language model compared the selected element and resulting page to their references, allowing for small differences in markup and appearance.
2 Reported results
In the paper’s results table, Gemini 1.5 Pro recorded more perfect scores and more scores of at least 0.8 than GPT-4 Turbo.
| Model | Score = 1.0 | Score ≥ 0.8 |
|---|---|---|
| GPT-4 Turbo | 13.49% | 53.17% |
| Gemini 1.5 Pro | 16.66% | 73.80% |
These are the thresholds reported in Table 1. The methods section defines success as a score strictly above 0.8, and the conclusion reverses the model ordering shown in the table.
3 What this tells us
A browser agent can reach the expected page even when its chosen element differs from the reference. Keeping the two scores visible helps distinguish that case from a run that ends on the wrong page. The benchmark focuses on individual actions, so its results describe those interactions rather than complete workflows.