Sulat.com / Writing on AIWednesday, November 25, 2026
Agent Engineering/25 November 2026

Lightpanda opens its LP commands to Playwright, Puppeteer and chromedp, but only Lightpanda runs them

Lightpanda says Playwright, Puppeteer and chromedp users can send its own LP commands, such as getSemanticTree and detectForms, over their existing connection. Chrome doesn't implement them, and the benchmarks are Lightpanda's own.

Glossy 3D Lightpanda panda-and-wave medallion beside floating glass browser panels, one showing a glowing page outline tree and cursors

At a glance

  • Lightpanda says Playwright, Puppeteer and chromedp users can send its own LP commands over the CDP connection they already use, and its 24 November X post names LP.getSemanticTree and LP.detectForms.
  • The LP domain reference lists 17 commands and one event: 8 that read a page, 6 that act on it and 3 that configure the connection. Actions target a backendNodeId taken from the semantic tree or the form list.
  • Chrome doesn't implement the LP domain, so a script that sends these commands works only when Lightpanda is the browser behind the connection. Lightpanda's 1.0.4 release, from 13 November, marks the new settled wait state experimental.
  • On Lightpanda's own test of 1,000 sites, settled returned complete content for 85.8% of pages at a 1.9-second median, against 63.5% at 1.3 seconds for load and 89.6% at 2.2 seconds for networkalmostidle.
  • Every comparison with Obscura, Moli and Kitesurf comes from Lightpanda's 19 October benchmark. Lightpanda passes about 80% of Chrome's Web Platform Tests subtests and takes no screenshots.

Lightpanda says Playwright, Puppeteer and chromedp users can call its own commands over the connection they already have. In an X post on 24 November, the maker of the headless browser names two of them: LP.getSemanticTree, which returns a compact page outline whose elements can be clicked and filled by node ID, and LP.detectForms, which lists every form on the page with its fields.

Both belong to the LP domain, a set of Chrome DevTools Protocol (CDP) commands that only Lightpanda implements. The current reference lists 17 commands and one event. The post links to a talk by Pierre Tachoire, Lightpanda’s co-founder and CTO, at the Extract Summit conference, which reached YouTube on 20 November.

Lightpanda on X, 24 November: the post that names LP.getSemanticTree and LP.detectForms.
  1. What the post and the talk cover
  2. What the LP domain holds
  3. Why a browser ships its own commands
  4. Knowing when a page is ready, and behaving politely
  5. Who builds it, and where the numbers stand
  6. How it compares with the other engines
  7. What it doesn’t do
  8. Try it

What the post and the talk cover

The post is short. It tells Playwright, Puppeteer and chromedp users that the same connection carries Lightpanda-specific commands, and it lists LP.getSemanticTree and LP.detectForms as the first two. The reference page covers the other 15.

The talk it links to is 33 minutes and 50 seconds. Tachoire’s description on YouTube says Lightpanda is an open-source headless browser written from scratch in Zig on top of V8, and that it skips rendering, image decoding and GPU compositing. Because it speaks CDP, the description adds, it works with existing Puppeteer and Playwright scripts. The practical half covers connection and context lifecycle, opt-in resource loading, the settled readiness event, native ad-block lists and HTTP caching, cheaper alternatives to request interception, safety limits, WebDriver support and Prometheus metrics.

Pierre Tachoire, Lightpanda, at Extract Summit: the talk behind the post, posted 20 November.

What the LP domain holds

A command takes a backendNodeId when it targets an element. The IDs come from LP.getSemanticTree, LP.getInteractiveElements, LP.detectForms or LP.waitForSelector, or from a standard CDP command such as DOM.describeNode. A failed command returns a CDP error with code -31998 and the error name as its message. Every command reads or acts on the main frame, though an ID can point into an iframe.

GroupCommandWhat it does
ReadLP.dumpConverts the live DOM to HTML, Markdown, PNG or PDF, after your clicks and fills. Options strip scripts, styles, navigation or page clutter.
ReadLP.getSemanticTreeReturns a pruned outline of the page. In text format each line starts with the node’s ID, and [i] marks an interactive node.
ReadLP.getNodeDetailsDescribes one node and returns a CSS selector that matches only that node.
ReadLP.getStructuredDataReads JSON-LD, Open Graph, Twitter card and meta tags, and links.
ReadLP.getPageStatusReports what went wrong while loading: HTTP status, a Cloudflare, AWS WAF or Vercel challenge, script errors, unsupported calls, skipped and blocked resources.
ReadLP.getContentSignalReturns the Content Signals a site’s robots.txt declares, such as whether AI training is allowed.
ReadLP.getInteractiveElementsLists native controls, ARIA widgets, editable regions, and elements with click or key listeners.
ReadLP.detectFormsLists each form’s action and method, and each field’s tag, type, required flag, value and select options.
ActLP.clickNodeClicks a node by ID.
ActLP.fillNodeTypes into an input or textarea, or selects an option by value, and fires the input and change events.
ActLP.scrollNodeScrolls a node or the page, which fires the scroll events lazy loading and infinite scroll rely on.
ActLP.waitForSelectorWaits for a CSS selector to match. The default is 5,000 ms.
ActLP.waitUntilWaits for a load state without navigating. It accepts settled.
ActLP.handleJavaScriptDialogSets the answer to the next confirm or prompt dialog.
Set upLP.configureCDPChanges robots.txt obedience, HTTP version and cache handling for the connection.
Set upLP.configureLoadingChooses whether iframes, workers, external stylesheets, images and beacons load.
Set upLP.versionReturns the server’s version.
EventLP.downloadDataStreams a download’s body in base64 chunks when the client asks for it.
All 17 commands and the one event in Lightpanda’s LP domain reference. Source: Lightpanda docs.

The reference page lists LP.dump and doesn’t list LP.getMarkdown, the command Lightpanda launched the domain with in early March. Lightpanda’s 1.0 post says the PNG and PDF options render the page’s Markdown, not its pixels.

Three cards: eight read commands, six act commands and three set-up commands in Lightpanda's LP domain, plus one download event
The LP domain splits into 8 read commands, 6 that act on the page and 3 that configure the connection.

From Playwright, a command goes through a CDP session on the page. This is the example from Lightpanda’s Playwright guide, which dumps the page as Markdown after any clicks and form fills:

Code
const client = await context.newCDPSession(page);
const { content } = await client.send('LP.dump', { format: 'markdown' });
console.log(content);

The text format of LP.getSemanticTree returns one line per node. The reference shows it like this for example.com:

Code
1 RootWebArea 'Example Domain'
 16 [i] link 'Learn more'

Node 16 is the link, and the [i] marks it as clickable. An agent passes 16 to LP.clickNode. A form works the same way: LP.detectForms returns each field’s backendNodeId, and LP.fillNode takes that ID and the text to type.

Why a browser ships its own commands

Lightpanda’s argument comes from Adrià Arrufat’s 11 March post: standard CDP was designed for debugging, not for machines. The usual route to a page outline calls Accessibility.getFullAXTree and DOM.getDocument separately, then cross-references the two trees in the agent framework. It also needs heuristics to drop invisible elements and scripts to work out what’s clickable. Arrufat names Stagehand and Browser Use as frameworks that each do this work outside the browser.

Lightpanda moved the job into the engine. LP.getSemanticTree walks the live DOM once, after JavaScript has run, and returns tag names, XPaths, ARIA roles and computed names. Arrufat says the engine decides what’s interactive by checking its own event manager for bound click, mousedown or change listeners, not by guessing from tag names. A select arrives with its options attached, so the agent doesn’t need a second call to read them.

Side-by-side: plain CDP takes two calls and a manual merge, while LP.getSemanticTree returns roles, names, clickability and node IDs in one pass
One LP call replaces the two-call, stitch-it-yourself route to a page outline.

Other tools solve the same problem on top of Chrome. The table shows what each hands the agent, according to each project’s own documentation.

ToolMakerWhat the agent getsRuns on
Playwright MCPMicrosoftAn accessibility snapshot with a ref such as e5 on each element. A ref is valid until the page changes.Chrome, Firefox, WebKit and Edge
agent-browserVercel LabsA compact accessibility tree with refs such as @e1, with filters for interactive elements only.Chrome through CDP, or Lightpanda with --engine lightpanda
StagehandBrowserbaseobserve() returns actions with a method and a selector. Each natural-language call uses a model.Playwright, Puppeteer and Selenium pages
LP commandsLightpandaA pruned semantic tree with node IDs, computed inside the engine with no model call.Lightpanda only
How four tools give an agent a page outline. Sources: Playwright, agent-browser and Stagehand docs, Lightpanda docs.

The last row is also the cost. Chrome doesn’t implement the LP domain, so a script that sends LP.getSemanticTree works only when the browser behind the connection is Lightpanda. Hermes Agent, from Nous Research, handles the mixed case by falling back to Chrome for actions Lightpanda doesn’t support, such as screenshots.

Lightpanda’s native MCP server exposes the same engine features as tools, so agents that don’t use CDP get them too. Version 1.0.4, released on 13 November, added a delta: true option to the tree tool that returns only the lines that changed since the last call, which cuts the tokens an agent spends between steps.

Knowing when a page is ready, and behaving politely

The part of the talk with the most practical weight is page readiness. Lightpanda 1.0.4 added settled, an experimental wait state that LP.waitUntil and --wait-until both accept. Karl Seguin’s 17 November post says it uses an attribution system to decide which network requests and scheduled tasks hold a page up. Requests started from a deeply nested timer, an animation-frame callback or a WebSocket event other than open don’t. Over 1,000 sites, settled returned complete content for 85.8% of pages at a 1.9-second median. load managed 63.5% at 1.3 seconds, and networkalmostidle reached 89.6% at 2.2 seconds.

Bar chart over 1,000 sites: load 63.5% complete at 1.3s, settled 85.8% at 1.9s, networkalmostidle 89.6% at 2.2s
Lightpanda’s settled signal sits between load and networkalmostidle on both completeness and wait time.

Two more LP commands work as a pair. LP.getPageStatus tells a blocked or broken page from an empty one, and it records which iframes, workers or images were skipped. Tachoire’s talk uses it as a hint for LP.configureLoading: if a page needs an iframe, retry the site with iframe loading switched on and compare the results. Lightpanda loads none of them by default.

The description also covers Lightpanda’s stance on manners. The browser sends an honest user agent, supports robots.txt and rate-limits per domain. In the talk Tachoire says the rate limit applies to repeated fast navigation on one domain, and that it protects the target site and the user from their own bugs. Navigation across different domains isn’t slowed. LP.getContentSignal only returns data when robots.txt is obeyed, through --obey-robots or LP.configureCDP. Lightpanda added Web Bot Auth support on 20 March, the standard that lets a bot prove its identity cryptographically.

Who builds it, and where the numbers stand

1.74M

Web Platform Tests subtests Lightpanda passes, up from 2,645 in November 2024.

80%

of the 2,184,491 subtests Chrome passes, on Lightpanda’s comparison with wpt.fyi’s September runs.

17

commands in the LP domain, plus one event.

30M+

pages a day at some customers, Lightpanda says.

Lightpanda is based in Paris. Francis Bouvier, its CEO, previously co-founded BlueBoard, an ecommerce analytics company that ChannelAdvisor acquired in 2020. Katie Brown, the COO, led BlueBoard’s commercial team, and Tachoire is the CTO. Bouvier says the idea came from running a fleet of headless Chrome that collected more than 20 million pages a day.

The company announced a pre-seed round on 10 June 2025, led by ISAI. Kima, Factorial Capital and Prototype Capital took part, along with angels including Arthur Mensch of Mistral, Julien Chaumond and Thomas Wolf of Hugging Face, and Stanislas Polu and Gabriel Hubert of Dust. The announcement doesn’t give an amount. The company hasn’t announced a later round.

Rendering these pages is up to 400x more expensive than reading static HTML.

Ilya Bogin, Member of Technical Staff at Keenable, in Lightpanda’s 1.0 post

Bogin’s company builds web search for AI agents and runs Lightpanda for search and indexing. He says more than 35% of Keenable’s answers depend on dynamically rendered sites, and that Lightpanda is 4x faster and 6x more cost-efficient than Chromium. DeveloperHub.io moved its prerender service off headless Chrome. Its CEO, Zaid Daba’een, says pages now serve 4x faster and load average fell 10x. Both accounts come from Lightpanda’s own post.

DateWhat happenedSource
Feb 2023The browser repository is createdGitHub
Nov 2024Beta release, passing 2,645 WPT subtestsLightpanda
10 Jun 2025Pre-seed round led by ISAILightpanda
5 Mar 2026LP.getMarkdown and native Markdown outputLightpanda
11 Mar 2026LP.getSemanticTree, getInteractiveElements and getStructuredData, plus a native MCP serverLightpanda
8 May 2026Hermes Agent adds Lightpanda as a browser backendLightpanda
17 Jun 2026Built-in agent and PandaScriptLightpanda
2 Oct 2026Version 1.0: 1,739,845 WPT subtests, CORS on by defaultLightpanda
6 Oct 2026WebDriver support, which lets Selenium scripts run on itLightpanda
10 Nov 2026Jev model from TypeSafe added for page decisionsLightpanda
13 Nov 2026Version 1.0.4: multi-page CDP connections, settledGitHub
20 Nov 2026Tachoire’s Extract Summit talk postedYouTube
24 Nov 2026X post on the LP commandsX
Lightpanda’s path to the LP domain post. Dates are publication or release dates.

The Jev work shows where LP commands are heading. Lightpanda 1.0.3 asks TypeSafe’s Jev model questions about pages it opens, and Lightpanda says each answer takes about 200 ms. In its test, signing in to a page took 0.34 seconds against 5.0 seconds with Claude Haiku 5.5. That’s Lightpanda’s test on one login page, not an independent benchmark.

How it compares with the other engines

The closest comparison is another from-scratch browser. On 19 October Lightpanda published a benchmark of itself against Obscura, Moli and Kitesurf. All four speak CDP, so Playwright and Puppeteer work with each by changing the endpoint. The figures below are Lightpanda’s own.

Lightpanda is the only one of the four that speaks CDP, WebDriver and MCP natively. Obscura reports a higher Web Platform Tests share than Lightpanda measured, but only over a subset of the suite.1

LightpandaObscuraMoliKitesurf
LanguageZigRustRustRust, compiled to WebAssembly
LicenceAGPL-3.0Apache-2.0Apache-2.0 or MITClosed source
ProtocolsCDP, WebDriver, MCPCDP, MCPCDP, WebDriverCDP
Crawl of 940 pages, 25 tabs4.5 s11.5 s17.4 sNot run
Peak memory at 25 tabs109 MB201 MB230 MBNot run
WPT subtests passed1.76 million (80%)652,000 (30%)No complete runNot reproduced
Where it runsLocal or cloudLocalLocal or cloudCloudflare only
Lightpanda’s own benchmark of 19 October 2026, run on Lightpanda 1.0.1, Obscura 0.2.5 and Moli 1.1.18. Source: Lightpanda blog.
Bar chart of Web Platform Tests subtests passed: Chrome 2.18 million, Firefox 2.14 million, Lightpanda 1.74 million, Obscura 0.65 million
Lightpanda passes about 80% of the subtests Chrome does; Obscura’s figure is Lightpanda’s own run.

Against headless Chrome, the README’s crawl on an AWS EC2 m5.large instance shows 123 MB of peak memory against 2 GB and 5 seconds against 46 seconds for 100 pages. Cloudflare’s own Kitesurf figures, as Lightpanda summarises them, are 37 MB of memory and 411 ms of CPU against 266 MB and 1.33 seconds for its Chrome-based Browser Run. A Kitesurf page takes 967 ms against 884 ms, so it’s lighter than Chrome and not faster.

The managed-browser market is a different purchase. Those vendors rent Chrome by the hour and charge for proxy traffic and extras on top.

ServiceEntry priceBrowser time after included hours
Cloudflare Browser RunUS$5 a month Workers Paid minimumUS$0.09 an hour after 10 hours, plus US$2 per concurrent browser above 10
BrowserbaseUS$20 a month DeveloperUS$0.12 an hour after 100 hours
SteelUS$0 plus usage on LaunchUS$0.10 an hour, US$0.08 on Scale
HyperbrowserUS$30 a month StartupUS$0.10 an hour
AnchorUS$50 a month StarterUS$0.05 an hour plus US$0.01 per browser created
List prices read by AC0.AI on 29 October 2026, and Cloudflare’s pricing docs. Source: AC0.AI, Cloudflare.

Startupik’s October comparison argues the hourly rate matters least. On a workload of 100,000 agent tasks a month, it says residential proxy traffic is 93% to 99% of the invoice at every vendor that sells it. An engine that trims memory cuts the hourly bill, and the proxy line stays where it was.

What it doesn’t do

  • Lightpanda has no graphical rendering pipeline, so it takes no screenshots. --dump png and --dump pdf render the page’s Markdown.
  • It passes about 80% of Chrome’s Web Platform Tests subtests. Lightpanda says more than half of the gap is in the CSS, editing and SVG suites, which test layout and painting.
  • LP.getPageStatus reports calls into WebGL and canvas 2D as unsupported.
  • confirm returns false and prompt returns null immediately, where Chrome pauses the page until the client answers. LP.handleJavaScriptDialog has to be sent before the dialog opens.
  • The LP commands work only on Lightpanda, and settled is marked experimental in 1.0.4.
  • The licence is AGPL-3.0. Lightpanda’s own table lists Obscura as Apache-2.0 and Moli as Apache-2.0 or MIT.
  • Every figure in the peer table comes from Lightpanda. Obscura, Moli and Cloudflare haven’t published a response in the sources Lightpanda cites.

Lightpanda’s X post names two commands and gives no roadmap. The March post says Lightpanda is “continuing to add commands”, and a maintainer said on 5 November that the project plans weekly releases.

Try it

The commands below come from Lightpanda’s install page and Playwright guide. After connectOverCDP, open a CDP session on the page and send any LP command by name.

Check it yourself

Install Lightpanda, start the CDP server, then connect Playwright to it.

Code
curl -fsSL pkg.lightpanda.io/install.sh | bash
lightpanda serve --host 127.0.0.1 --port 9222

import { chromium } from 'playwright-core';
const browser = await chromium.connectOverCDP('ws://127.0.0.1:9222');
CDP
The Chrome DevTools Protocol, the WebSocket interface Playwright, Puppeteer and chromedp use to control a browser.
backendNodeId
The number CDP gives a DOM node, which LP commands use to click, fill or describe it.
Semantic tree
A trimmed outline of a page listing roles, names and what’s interactive, without layout wrappers.
WPT
Web Platform Tests, the shared suite browser makers use to check standards support.

Sources: Lightpanda on X, LP domain reference, Playwright guide, Extract Summit talk, Lightpanda 1.0, 1.0.4 release notes, waitUntil settled, engine benchmark, Jev integration, pre-seed announcement, Playwright MCP snapshots, agent-browser snapshots, Stagehand observe, Cloudflare Browser Run pricing, AC0.AI, Startupik.

  1. Obscura reports 67.6% on a subset of 893,328 of the 2.2 million subtests. Lightpanda’s run of the full suite on its own infrastructure gives 30%. Cloudflare’s Kitesurf figure covers 11,765 of 38,772 test files. Source: Lightpanda’s 19 October benchmark post. ↩︎

Discover more from Sulat AI & Tech News

Subscribe to get the latest posts sent to your email.