webframe: evaluated as a scraper and a sandbox

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Engineers weighing headless-browser scraping tools gain a lightweight Playwright-free alternative, but the documented rough edges mean shot-scraper remains the safer default today.

Read this as

webframe is a small open-source tool by Jeff Lindsay that treats a web page like a program: you give it a URL, it secretly loads the page in your computer's own browser engine (not a bundled copy), and prints the page's console output to your terminal. Simon Willison had Claude Opus 5.5 test it against his own similar tool, shot-scraper, which needs the heavier Playwright software. It was comparably fast for scraping but has real problems: a hidden zero-by-zero screen, pages that hang, missing request metadata, and security-policy failures. It suits hobbyist scrapers; professionals should stay with shot-scraper for now.

Willison's evaluation of the Go-based webframe, tested via Claude Opus 5.5, found scraping performance on par with his own shot-scraper tool while avoiding its Playwright dependency, a meaningful cost and packaging advantage for automation pipelines. However, the tool's limitations, CSP failures, a 0×0 default viewport, hanging page loads, absent HTTP metadata and sparse browser controls, make it unsuitable as a production sandbox today. Teams needing browser automation should remain on established tooling; webframe is worth tracking, not adopting.

webframe (tractordev/webframe, by Jeff Lindsay) is written in Go over the glaze library, driving the OS-native WebView (WKWebView on macOS, WebKitGTK on Linux, WebView2 on Windows) rather than bundling Chromium, and pipes console.log() to stdout and exceptions to stderr. Willison had Claude Opus 5.5 run exploratory prototypes and compare it with shot-scraper javascript patterns; scraping performance was comparable to Playwright-based shot-scraper. Documented gaps: CSP violations, a 0×0 viewport, hanging loads, missing HTTP metadata and limited browser control APIs. No published benchmark figures accompany the evaluation.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

webframe shot-scraper glaze Playwright Claude Opus 5.5 Datasette Pyodide

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading