Skip to content

Test

Status: PASS (SDK install) | NOT-RUN (browser launch - requires Chromium binary approval) Install method: npm

What was actually run (2026-06-30)

bash
cd /tmp/browser-tools-smoke && npm install puppeteer
node -e "const p = require('./node_modules/puppeteer/package.json'); console.log(p.name + '@' + p.version)"

Actual output:

puppeteer@25.2.1

PASS for install. npm flagged the postinstall script (Chromium download) as needing npm approve-scripts due to security policy. The package itself resolves and loads. Browser launch was not executed because it requires a running display and approved Chromium binary.

Full browser launch smoke test (not run)

bash
npm approve-scripts puppeteer
node smoke.mjs  # launches Chromium, navigates to example.com, prints title

Requires Chromium to be downloaded (handled by Puppeteer's postinstall) and a display environment.

Common failure modes

ErrorLikely CauseFix
Could not find ChromeChromium not downloadedRun npx puppeteer browsers install chrome
Postinstall blockednpm security policyRun npm approve-scripts puppeteer
Timeout on gotoNetwork or bot detectionUse cloud browser backend