Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For ordinary Puppeteer automation, pass launch settings to puppeteer.launch(options); you generally do not need to construct a browser process yourself. The lower-level Process constructor accepts a LaunchOptions object, but its reference is not a complete browser-launch recipe. This guide explains the distinction, shows a runnable setup, and helps you choose the options that matter.

What the Puppeteer Process constructor does

The documented constructor signature is new Process(opts: LaunchOptions). It creates a Process instance that represents a browser process and exposes process-level lifecycle and logging operations, including close(), kill(), hasClosed(), waitForLineOutput(), and getRecentLogs(). See the Process constructor reference and Process class reference.

That low-level API is different from launching a browser for page automation. puppeteer.launch(options) is the public workflow: it starts or launches a browser and resolves to a Browser. Browser.process() later exposes the associated Node.js child process, or returns null when Puppeteer connected to an already-running browser. See PuppeteerNode.launch() and Browser.process().

Launch a browser with the public API

For a standard local setup, install puppeteer, then launch it, create a page, navigate, and close the browser when finished:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
npm i puppeteer
const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch({
    headless: true,
    timeout: 30_000,
  });

  try {
    const page = await browser.newPage();
    await page.goto('https://example.com', { waitUntil: 'domcontentloaded' });
    console.log(await page.title());
  } finally {
    await browser.close();
  }
})();

The sample uses the standard launch path and closes the browser even if navigation or page work throws an error. The current launch reference documents timeout as 30 seconds by default, so specifying it is optional here; use a different value only when your workload needs it. See the launch API and installation guide.

Choose between puppeteer and puppeteer-core

Package Browser installation What to provide when launching Best fit Compatibility
puppeteer Downloads a compatible Chrome for Testing browser and chrome-headless-shell during installation. Usually no browser path is needed for the bundled browser. Local automation where you want Puppeteer to manage the browser download. Puppeteer says its bundled Chrome for Testing version is guaranteed to work best with that Puppeteer version.
puppeteer-core Does not download a browser. When launching a managed browser, provide executablePath or a channel installed in a standard location. Connecting to a remote browser or managing browser installation yourself. Compatibility with arbitrary custom executables is not guaranteed.

These package behaviors and compatibility qualifications are described in Puppeteer’s installation guide and launch reference. If you set executablePath, the launch documentation recommends also setting browser so Puppeteer knows which browser type the executable represents.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Set up and install the browser

  1. Check your runtime. The current Puppeteer system requirements list Node.js 22.12 or later, and TypeScript 5.0.1 or later if you use TypeScript. OS-specific browser requirements and archive utilities also apply; consult the system requirements for your target environment.
  2. Install the package. Run npm i puppeteer for the package-managed browser workflow. The installation guide also documents equivalent commands for Yarn, pnpm, and Bun.
  3. Run a launch smoke test. Use the sample above to confirm that the browser starts, a page can be created, and cleanup completes.
  4. For a managed browser instead, install puppeteer-core. Supply executablePath or a standard-location channel in launch options when starting that browser. If connecting to a remote browser, use the documented connection workflow rather than expecting puppeteer-core to download one.

The installation guide says the browser cache defaults to $HOME/.cache/puppeteer beginning with Puppeteer 19.0.0. It gives approximate Chrome for Testing download sizes of 170 MB on macOS, 282 MB on Linux, and 280 MB on Windows; those are documentation estimates, not fixed sizes for every release. See Puppeteer installation.

Pick only the LaunchOptions your environment needs

The current LaunchOptions reference (Puppeteer 25.12.0) defines an interface extending ConnectOptions. Select options by the decision they control rather than copying a large configuration into every script.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Browser binary and channel

  • browser selects browser type and defaults to chrome.
  • channel selects a regular Chrome installation at a known system location.
  • executablePath points to a specific executable instead of Puppeteer’s bundled browser. Custom executables can work, but Puppeteer does not guarantee compatibility with arbitrary binaries.

Headless mode and display

  • headless defaults to true, which uses new headless mode.
  • Set headless: 'shell' to use the old headless shell.
  • devtools: true forces headless: false, so use it when you need the visible browser and DevTools.

Arguments and defaults

  • args adds browser command-line arguments.
  • ignoreDefaultArgs disables or filters Puppeteer’s standard arguments. The documentation says to use it with care because removing defaults can change launch behavior unexpectedly.

Environment variables and user profile

  • env controls environment variables visible to the browser and defaults to process.env.
  • userDataDir selects the browser user-data directory. Use separate directories when you need isolated profiles rather than having runs share profile state.

Startup diagnostics and timeout

  • dumpio pipes browser stdout and stderr to the Node.js process streams; it defaults to false and is useful when diagnosing startup failures.
  • timeout is the launch timeout in milliseconds and defaults to 30,000; set it to 0 to disable that timeout.
  • waitForInitialPage defaults to true; change it only if your launch flow does not need Puppeteer to wait for the initial page.

Signals and transport

  • handleSIGHUP, handleSIGINT, and handleSIGTERM default to true and control whether Puppeteer handles those process signals for browser shutdown.
  • signal lets an abort signal close the browser.
  • pipe uses stdio streams rather than WebSocket transport and is documented as Chrome-only.

Firefox preferences, extension settings, and protocol-connection settings are specialized options; use the launch reference when that specific case applies instead of adding them to a routine Chrome launch configuration.

Troubleshoot launch and setup failures

“Could not find Chrome (ver. …)”

A common cause is a package manager blocking dependency install scripts, which can prevent Puppeteer’s browser download. Run npx puppeteer browsers install manually, or configure the package manager to permit Puppeteer’s install script. If the project intentionally manages its own browser, use puppeteer-core and provide the browser location or channel for a launch. The official fix is in the installation guide.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Launch fails with a custom executable

Confirm that the path exists and points to the intended browser binary. Set browser as well as executablePath, as recommended in the launch documentation. If the executable is not the bundled Chrome for Testing version, compatibility is not guaranteed.

Browser starts too slowly or appears stuck

Enable dumpio: true to see browser output, and check whether the launch timeout is appropriate for the machine and environment. Raising the timeout can accommodate slow startup; setting it to 0 disables the timeout, which also removes that safeguard.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Browser remains open after the task

Ensure the application reaches await browser.close(), including error paths. Put page work in a try block and cleanup in finally, as in the example, so a failed navigation does not skip browser shutdown.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If the job is simply to capture a website, ScreenshotNeo is a website screenshot API and MCP server; one GET request returns a PNG, JPEG, WebP, or PDF. See the ScreenshotNeo site and API documentation.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp

The API accepts a URL without requiring you to install or launch a local browser. Before capture, it accepts cookie/consent banners as a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets; those steps can be turned off. Bot checks/CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers identify the page verdict and whether the shot was billed. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for AI agents. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Sign up for 1,000 free screenshots a month, with no card required.

Version notes

The constructor reference is displayed as Puppeteer 25.10.0, while the current launch-options, launch, installation, and system-requirements pages used here are 25.12.0; the Process class page reports 25.9.0. Check the API declarations for the Puppeteer version installed in your project before relying on a particular option or signature. The cited official pages were accessed on October 3, 2026.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frequently Asked Questions

Does the Process constructor return a Browser?

No. It constructs a lower-level Process instance. The public launch method resolves to a Browser.

When should I use puppeteer-core?

Use it when connecting to a remote browser or managing browser installation yourself; it does not download Chrome.

Can I disable Puppeteer’s launch timeout?

Yes. Set the LaunchOptions timeout value to 0.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.