Playwright CLI vs MCP: give your agent a browser that actually works
I ran Playwright CLI, Playwright MCP and Chrome DevTools MCP on the same page. The snapshots came out nearly identical; the real cost sits elsewhere.
11 stories
I ran Playwright CLI, Playwright MCP and Chrome DevTools MCP on the same page. The snapshots came out nearly identical; the real cost sits elsewhere.
I'm a computer engineering student in Manaus, Brazil, and for my research project I've been building ANCHOR, a web automation agent: you describe a task in plain language ("Register Maria Silva, IT department, contractor, accept the terms and save"), and it runs the task in the browser.
Faster is not better. I spent two weeks squeezing every millisecond out of my Playwright scraper, and every speedup bought me a new IP ban. The fix was throttling it down to a tenth of the speed — bans dropped to zero.
Tool: Kākāpō Party I presented a closing keynote for the WeAreDevelopers World Congress North America yesterday. As a STAR moment I decided to weave in references to the record breaking kākāpō breeding season we had in 2026.
The same scraping tasks written as PandaScripts and as Puppeteer and Playwright scripts. Nearly identical code, 4x to 17x less memory, and one binary instead of two processes and a protocol.
Every tool in web automation runs on a browser engine. There are only two real options: Chromium and Lightpanda. Here's how the entire stack fits together.
Lightpanda now supports Web Bot Auth, the emerging standard for bots and AI agents to cryptographically prove their identity.
The LP domain grows with LP.getSemanticTree, LP.getInteractiveElements, and LP.getStructuredData alongside a native MCP server built into the browser binary that exposes the same engine capabilities without CDP.
Lightpanda now converts web pages to markdown natively inside the browser, cutting token usage for AI agents.
The Chrome DevTools Protocol powers every major browser automation library, but it wasn't designed for browser automation.
Web automation tools like Playwright and Puppeteer run on top of CDP. Understanding CDP helps developers choose the right level of abstraction.
Showing 11 of 11 stories
You're all caught up.
Get the top AI news and tools straight to your inbox every week.
Weekly · AI news
Join 15,000+ AI enthusiasts