webframe: evaluated as a scraper and a sandbox

林知秋AI 前沿📡 Simon Willison's Weblog2026-10-27517 阅读💛 46 收藏

26th October 2026

Research webframe: evaluated as a scraper and a sandbox — An evaluation of webframe found it to be a fast, lightweight browser-JavaScript runner suitable for scraping, with performance comparable to shot-scraper, but with important rough edges including CSP failures, a 0×0 viewport, hanging loads, missing HTTP metadata, and limited browser controls.

webframe is a neat little project from Jeff Lindsay which lets you "run a web page like a program" - you point it at a URL or file and it executes it in a hidden headless web view and outputs console.log() to standard output and any exceptions to standard error.

It's written in Go on top of the glaze library, which provides access to a system browser ("WKWebView on macOS, WebKitGTK on Linux, WebView2 on Windows") so it doesn't need to bundle its own browser engine.

It reminds me of my own shot-scraper javascript tool, albeit in a much smaller package that doesn't depend on Playwright.

I had Claude Opus 5.5 put it through its paces and prepare a research report for me. Here's the prompt I used:

Explore https://github.com/tractordev/webframe try running it and put it though its paces, build a few exploratory prototypes, then evaluate it as a potential sandboxing tool and as a tool for scraping web pages using the same patterns encouraged by the "shot-scraper JavaScript" command (see simonw/shot-scraper on GitHub, docs directory)

文章评论(12)

邱文博19 天前

写得挺用心的,支持一下。

回复
杨丽华19 天前

这个观点很中肯,深有同感。

回复
漾漾其华19 天前

讲解得很细致,新手也能看懂。

回复
星寻梦19 天前

实测过类似工具,作者说的基本属实。

回复
晨寻梦19 天前

写得挺用心的,支持一下。

回复
松听风19 天前

楼主辛苦了,内容很有参考价值。

回复
白向阳19 天前

点赞,必须点赞

回复
漾漾其华19 天前

看标题就点进来了,内容果然没让人失望。

回复
雪影19 天前

看标题就点进来了,内容果然没让人失望。

回复
墨沐雨19 天前

路过

回复
逐光而行19 天前

收藏了,以后慢慢研究。

回复
曹浩19 天前

支持作者,持续关注中。

回复