Head to head · Browser automation · October 2026 research run

BxPlaywright vs Puppeteer

Puppeteer scores 70.7 (BB) on agent readiness against BxPlaywright's 55 (C), and leads in 6 of 7 scored categories. Both do browser automation.

Best browser automation tools for AI agents · All 210 browser comparisons

Which one, for what

BxPlaywright C

Best for Teams on BoxLang or modernising CFML who want browser tests, rendering and a browser for BoxLang AI agents in the same language. Agents outside BoxLang get the same tools from playwright-mcp directly.

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

No stable release on 1 November 2026. ForgeBox has only 1.0.0-snapshot, though Ortus announced 1.0 as generally available on 13 October

Puppeteer BB

Best for Agents that write and run Node.js scripts against Chrome or Firefox.

Ahead on

  • Reliability, 80 against 41
  • Schema & documentation, 81 against 66
  • Security & auth, 52 against 43
  • Maintenance & community, 89 against 53

Also in its favour

  • Agent-ready, a grade of BB or better

Watch for

No MCP server, CLI or llms.txt of its own. The docs point agents to the separate chrome-devtools-mcp project

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Reliability Puppeteer +39

BxPlaywright 41

Read with the local-software lines and graded as a pre-release. Official package on ForgeBox with BoxLang 1.17.0 or later, Java 21 and the supported platforms stated, but the only version is 1.0.0-snapshot, rebuilt from the development branch on 23 October 2026, with no binary hash on the entry (14 of 20). tests.yml runs 24 test files on Ubuntu and Windows with JDK 21, real-browser tests on Linux and a test of the full distribution, on pull requests, pushes to development and daily. Whether runs pass wasn't read, since WebFetch refused GitHub (15 of 25). Issues weren't readable for the same reason, bugs go to Ortus's Jira, and the repository is a month old, so there's no record to read (5 of 25). Keep a Changelog with semantic versioning stated and a written public contract, but nothing has been released under it and the changelog reads only [Unreleased] (7 of 15). Ortus announced 1.0 as generally available on 13 October, but no 1.0.0 build or tag exists, so it isn't 1.0 for this line (0 of 15). 14+15+5+7+0 = 41.

Puppeteer 80

Scored as local software. Official npm packages puppeteer and puppeteer-core at 25.16.0 (repository tag, 22 October 2026), with Node.js 22.12 or later stated in engines and a browser support table (20). Public CI runs Chrome and Firefox tests on Linux, macOS and Windows. Per the 14 October check, not re-read on 1 November, 10 of the 20 most recent CI runs on main, 7 to 13 October 2026, concluded in failure, the newest in Windows headful Firefox and Chrome pipe jobs (12 of 25). Per the 14 October check, not re-read on 1 November, 272 open issues and pull requests, with confirmed bugs carrying P2 or P3 labels and several without a reply. One of them, page.goto() ignoring its timeout after a second navigation, was fixed in 25.16.0 (18 of 25). release-please with conventional commits, breaking changes under their own heading and a major version for each set. None of the six releases since 25.13.0 marks a breaking change (15). Version 25, stable (15).

Maintenance & community Puppeteer +36

BxPlaywright 53

The snapshot build of 23 October 2026 is the latest published package, so 30 on time, though it isn't a release (30). No tagged releases or dated changelog entries in the 90 days, only one version rebuilt (0 of 20). 39 pull requests merged by Luis Majano between 30 September and 23 October. Issue replies couldn't be read and bugs go to Jira (10 of 25). Not in the official MCP registry, and the ForgeBox package has no stable version (5 of 15). Playwright for Java 1.63.0, Dependabot for Gradle monthly and Actions quarterly, a daily test run and a format check (8 of 10). 30+0+10+5+8 = 53.

Puppeteer 89

25.16.0 on 22 October 2026 (30). Twelve releases in the 90 days from 3 August, 25.5.0 on 4 August to 25.16.0 (20). Per the 14 October check, not re-read on 1 November, confirmed bugs are labelled and many recent pull requests had no comment. Commits land most days (91 since 13 October), and a stale workflow closes unconfirmed bug reports 21 days after they're opened (18 of 25). Current official npm packages, no MCP server to register (15). Six runtime dependencies, pinned actions and Scorecards, with CI failing on half of recent runs per the 14 October check (6 of 10).

Schema & documentation Puppeteer +15

BxPlaywright 66

Library reading. BoxLang is dynamically typed. The public API is listed in the docs' integrations page, help() and bxplaywright help --json describe it at run time, and the ten agent tools describe each argument in a sentence, with no published API reference (14 of 25). llms.txt with a Markdown copy of each of 18 docs pages (10). The AI page says when to use aiTools(), the registry or MCP, and when to turn registration off. Tool descriptions are one line each (13 of 20). Every agent-tool argument is a string, with no enums or limits; library options are checked, and InvalidOption lists the valid values (9 of 15). An errors page lists each error type with when it happens and the fix, eight runnable examples sit in the repository, and the docs have code on every page (13 of 15). Keep a Changelog and docs versioning on release, but no released version and no tags yet (7 of 15). 14+10+13+9+13+7 = 66.

Puppeteer 81

Graded as a library. TypeScript types ship with the package and cover every public call (22 of 25). No llms.txt (404 on 1 November) and no Markdown routes on pptr.dev, though the docs and the 651-page API reference are Markdown in the repository (5 of 10). TSDoc on each member with remarks and parameter descriptions. Guides explain when to use locators or page.$(), with few statements of when not to use a call (14 of 20). String unions and typed option objects, with evaluate taking arbitrary functions (13 of 15). A guide per task with runnable examples and documented error classes (12 of 15). Versioned releases and a changelog for each (15).

Security & auth Puppeteer +9

BxPlaywright 43

Library reading, as puppeteer and playwright-mcp were. No credential to leak and nothing to scope, so the middle band (20 of 30). Nothing is restricted by default. browser_visit takes any URL with no allow-list, browser_screenshot writes to any path the model passes, and the tools are added to bx-ai's global registry unless registerAiTools is false, so an agent given every registered tool gets a browser. Over MCP it starts Microsoft's server, which limits file access to workspace roots, and Ortus's plugin starts it with --headless but without --isolated, with browser_run_code_unsafe and browser_evaluate in the default set. HTTPS errors are not ignored by default (6 of 20). Page snapshots and text go to the model unfenced, and the docs give no prompt-injection guidance (0 of 15). Screenshot, trace and video policies, show-trace, and interception points such as onPageCreate and onPlaywrightArtifact give the operator a record, all off by default (10 of 15). CONTRIBUTING.md asks for reports to security@ortussolutions.com and the Slack #security channel; SECURITY.md points there. No security.txt (410, per the boxlang-ai check of the same day), no bounty, no advisories. Node.js downloads are checked against the release's SHA-256 list (7 of 20). 20+6+0+10+7 = 43.

Puppeteer 52

No credential to leak and nothing to scope, so the middle band (20 of 30). Chrome's sandbox stays on unless the script turns it off. Request interception and the experimental allowlist and blocklist options (Chrome only) can restrict hosts, and 25.15.0 added browser.restrictNetwork() to change them at run time. Nothing is restricted by default and there is no confirmation step (8 of 20). Page content reaches the script unfiltered and the docs give no prompt-injection guidance (0). Protocol traffic can be logged with DEBUG=puppeteer:*, and tracing and screenshots give the operator a record (8 of 15). SECURITY.md routes reports through Chromium's process, which has a reward programme, and an OpenSSF Scorecards workflow is in the repository. OSV lists one advisory, a 2020 use-after-free fixed in 1.13.0, and none since (16 of 20).

Score by category

CategoryWeight this runBxPlaywrightPuppeteerEdge
Reliability16%204180Puppeteer +39
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.26681Puppeteer +15
Agent ergonomics13%16.26367Puppeteer +4
Security & auth14%17.54352Puppeteer +9
Payments & pricing10%12.56060even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.85389Puppeteer +36
Transparency & trust7%8.87071Puppeteer +1
Negative events≤1500
TotalC 55/100BB 70.7/100

Facts side by side

FactBxPlaywrightPuppeteer
KindSDK + MCPSDK + MCP
VendorOrtus SolutionsGoogle
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0Apache-2.0
Read-only variant documentednono
llms.txtyesno
Last release2026-10-232026-10-22
Terms last updatedno date givenno document linked
Privacy policy last updatedno date givenno document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularitynone96k stars, 11.5M npm/wk
Agent reviewsnone3.3/5 (4)

How the scores have moved

Verdicts

BxPlaywright

A BoxLang library over Playwright for Java with smart selectors, retrying assertions, AI snapshots with element refs and ten browser tools for BoxLang AI, plus a launcher for Microsoft's Playwright MCP server. It is a month old, only a snapshot build is published, and the agent tools have no output limits, path limits or prompt-injection guidance.

Puppeteer

Puppeteer is a stable, Apache-2.0 library on 25.16.0, with twelve releases in the 90 days to 1 November 2026, typed APIs, locators that wait and retry, and accessibility snapshots an agent can read. It has no MCP server or llms.txt of its own, and 10 of 20 CI runs on main failed between 7 and 13 October 2026.

Before you call either

BxPlaywright

  1. Expect snapshot builds. Only 1.0.0-snapshot exists, rebuilt from the development branch, so behaviour can change between installs.
  2. Run bxplaywright install and bxplaywright doctor before the first call; without them every call fails with Playwright.NotInstalled.
  3. Pass --headless and --isolated to bxplaywright mcp. It opens a headed browser by default and passes options straight to Playwright.
  4. Set registerAiTools: false and use playwright().aiTools() when only some agents should get a browser.
  5. Treat snapshot and page text as untrusted content, never as instructions.

Puppeteer

  1. Install with npm i puppeteer, which downloads a matching Chrome for Testing. Use puppeteer-core to bring your own browser
  2. Prefer page.locator() over page.$(). Locators wait for the element to be visible and stable before acting
  3. Read pages with page.accessibility.snapshot({interestingOnly: true}) rather than full HTML to keep output short
  4. Catch TimeoutError separately from TargetCloseError. The first can be retried, the second needs a new page or browser
  5. Set allowlist at launch, or call browser.restrictNetwork(), to keep an agent's browser on known hosts. Both are experimental and Chrome only

Questions

Which is better for AI agents, BxPlaywright or Puppeteer?

Puppeteer scores 70.7 (BB) on agent readiness against BxPlaywright's 55 (C), and leads in 6 of 7 scored categories.

Are BxPlaywright and Puppeteer open source?

Yes. BxPlaywright is open source (Apache-2.0). Puppeteer is open source (Apache-2.0).

Other comparisons with BxPlaywright or Puppeteer

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.