A shot-scraper-style JSON API on Bun 1.4's new Bun.WebView
Source
simonwillison.net
Date
Terms in this piece · Glossary
eval — A repeatable test for AI quality — a set of tasks plus scoring — used the way software teams use test suites, because model output is too variable to judge by eyeballing.
AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
Why it matters
Bun 1.4's built-in WebView can replace Puppeteer or Playwright for JS evalA repeatable test for AI quality — a set of tasks plus scoring — used the way software teams use test suites, because model output is too variable to judge by eyeballing.Full definition → and page screenshots — roughly 150 lines and zero dependencies for a JSON API, one tab per request, which strips a heavy dependency out of AI agentAn AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.Full definition → scraping and capture pipelines.