BrowseBench

Benchmark · run 2026-11-21 · 10 runs per task per library

Round 0: Playwright vs Puppeteer on 10 scripted browser tasks

Before we benchmark AI browser agents, we need a baseline: how fast and how reliable are the two most common automation libraries when they drive exactly the same browser through the same tasks?

Short answer: both libraries passed 100/100 (Playwright) and 100/100 (Puppeteer) runs. Puppeteer's median was lower on 9 of 10 tasks and Playwright's on 1; the median gap per task ranged from 0.1% to 5.5%, and the min–max ranges of the two libraries overlap on every task. In practice task time here is dominated by the network and the sites, not the library. Playwright launched the browser faster (median 32 ms vs 56 ms).

Setup

Results by task

TaskPlaywright passPlaywright median msPuppeteer passPuppeteer median msPW vs PP
quotes-login
Log in on quotes.toscrape.com (demo login accepts any credentials) and confirm the Logout link appears
10/10 1,359
1,232–1,767
10/10 1,288
1,212–1,813
+6%
quotes-paginate
Follow "Next" through every page of quotes.toscrape.com and collect all 100 quotes
10/10 3,466
3,107–5,116
10/10 3,618
3,161–5,551
-4%
quotes-js-render
Extract the 10 quotes rendered client-side by JavaScript on quotes.toscrape.com/js/
10/10 959
898–1,263
10/10 923
860–1,281
+4%
quotes-infinite-scroll
Scroll quotes.toscrape.com/scroll until all 100 quotes have loaded
10/10 2,007
1,821–2,551
10/10 1,953
1,616–2,189
+3%
books-category
Open the Travel category on books.toscrape.com and extract title + price for all 11 books
10/10 996
959–1,150
10/10 964
914–1,237
+3%
books-detail
Click the first book on books.toscrape.com and read its UPC from the product table (expected a897fe39b1053632)
10/10 1,268
1,153–1,884
10/10 1,259
1,139–1,934
+1%
internet-dropdown
Select "Option 2" in the dropdown on the-internet.herokuapp.com/dropdown and read it back
10/10 1,126
1,079–1,624
10/10 1,109
1,034–1,530
+2%
internet-dynamic-loading
Click Start on the-internet.herokuapp.com/dynamic_loading/2 and wait for "Hello World!" (about 5 s server delay)
10/10 6,438
6,329–7,183
10/10 6,115
6,011–6,464
+5%
internet-checkboxes
Tick checkbox 1 and untick checkbox 2 on the-internet.herokuapp.com/checkboxes, then verify both states
10/10 1,159
1,061–1,777
10/10 1,101
1,029–1,677
+5%
internet-table
Extract the 4 rows of table 1 on the-internet.herokuapp.com/tables and check every row has an email address
10/10 1,026
993–1,537
10/10 1,025
977–1,764
+0%

Median and min–max are over successful runs only. "PW vs PP" is Playwright's median relative to Puppeteer's; negative means Playwright was faster.

Totals

PlaywrightPuppeteer
Runs passed100/100100/100
Sum of per-task medians19,804 ms19,355 ms
Median browser launch32 ms56 ms

What this does and doesn't tell you

Download and re-run

npm i [email protected] [email protected]
CHROMIUM=/path/to/chrome-headless-shell node run.mjs 10

Data licensed CC BY 4.0. Please keep the request rate to these practice sites low.