October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Redmond desk4 min

Puppeteer Screenshot on Windows: Set the Chrome Executable Path

Set Puppeteer’s executablePath to the full chrome.exe path on the Windows machine running Node.js—or omit it to use Puppeteer’s bundled browser.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

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

Set executablePath in puppeteer.launch() to the full path of the chrome.exe you want Puppeteer to run. The path must point to a real file on the machine or container running Node.js; there is no single Windows path that works everywhere.

Launch Chrome from an explicit Windows path

Use the complete executable filename, not just the application folder. This example assumes Chrome is installed at the conventional location shown; check your own system before using it.

import puppeteer from 'puppeteer';

const browser = await puppeteer.launch({
  browser: 'chrome',
  executablePath: String.raw`C:Program FilesGoogleChromeApplicationchrome.exe`,
});

try {
  const page = await browser.newPage();
  await page.goto('https://example.com', { waitUntil: 'networkidle0' });
  await page.screenshot({ path: 'screenshot.png', fullPage: true });
} finally {
  await browser.close();
}

String.raw keeps the backslashes in this JavaScript string literal as written. The executablePath launch option selects a browser executable instead of Puppeteer’s bundled browser. Puppeteer warns that only its bundled browser is guaranteed to work with Puppeteer; using another executable is at your own risk (Puppeteer LaunchOptions).

Find and verify the path

  • Locate the chrome.exe that you intend to use, then copy its full path, including the filename.
  • Check that the file exists and that the account running Node.js can access it.
  • Verify the path in the same environment where the script runs. A path on your desktop may not exist inside a CI runner, container, or remote host.

C:Program FilesGoogleChromeApplicationchrome.exe is only an example, not a universal Chrome location. Puppeteer’s own downloaded-browser cache uses a different layout, including chrome-win64chrome.exe; do not assume the cache is located at a fixed desktop path. See Puppeteer’s configuration guide for browser installation and management.

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

Choose between bundled Chrome and a separate installation

Approach Browser management Path setup Compatibility
Use the browser bundled with puppeteer Puppeteer downloads a compatible Chrome during installation. Usually omit executablePath. This is the browser Puppeteer guarantees to work with.
Use a separately installed or managed browser You manage its installation and updates. Set executablePath to the actual executable, or use a release channel when the browser is at a known standard location. Compatibility with arbitrary binaries is not guaranteed.
Use puppeteer-core You provide or manage the browser; the package does not download Chrome. Configure the browser through the launch API. Configuration files and environment variables used by puppeteer are ignored.

Puppeteer’s installation guide covers installation and manual browser setup. If you do not need a specific system Chrome, leaving out executablePath is generally the simplest setup for the full puppeteer package.

Set the path with an environment variable

For the full puppeteer package, PUPPETEER_EXECUTABLE_PATH can provide an executable-path override through the environment. This is useful when the path differs by machine or deployment environment, because the code does not need to contain a machine-specific path. The variable does not configure puppeteer-core; Puppeteer documents that its configuration and environment-variable settings are ignored by that package (Puppeteer configuration).

Rank #2
Dell Latitude 3190 11.6" HD 2-in-1 Touchscreen Laptop Intel N5030 1.1Ghz 4GB Ram 128GB SSD Windows 11 Professional (Renewed)
  • 1.1 GHz (boost up to 2.4GHz) Intel Celeron N5030 Quad-Core
  • 4GB DDR4 System Memory; 128GB Solid State Drive
  • 11.6" HD (1366 x 768) Multi-Touch Display
  • Combo headphone/microphone jack - Noble Wedge Lock slot - HDMI; 2 USB 3.1 Gen 1
  • Windows 11 Pro

Alternatively, keep the path explicit in puppeteer.launch({ executablePath: ... }) when you want the choice visible in the script. Use one approach deliberately and confirm it points to the executable in the runtime environment.

Troubleshoot launch failures

Executable not found

Check for a typo, missing .exe, or a path copied from another computer. Confirm the file exists in the environment that runs Node.js, not merely on the machine where you edited the script.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.

Access denied or launch blocked

Check that the launching account has permission to access the browser files. Puppeteer’s troubleshooting guide notes that, starting with v22.14.0, Puppeteer attempts to configure permissions for downloaded Chrome by running Chrome’s setup.exe. For older versions or continuing access-denied sandbox errors, the guide describes an icacls workaround; follow its current commands and security context rather than applying permission changes blindly (Puppeteer troubleshooting).

Chrome starts but Puppeteer behaves incompatibly

Confirm which browser binary the script launched and consider whether it is compatible with your Puppeteer version. The compatibility guarantee applies to Puppeteer’s bundled browser, not every separately installed Chrome build (LaunchOptions API).

Rank #4
15.6 Inch Laptop Computer, N4020, 4GB DDR4 RAM, 128GB eMMC,with Windows 11
  • EFFORTLESS EVERYDAY PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 Home system, delivering reliable, low-power efficiency for daily tasks like document editing, email, online classes, and web browsing
  • 15.6-INCH FULL HD DISPLAY: Enjoy immersive visuals on the 15.6" FHD (1920x1080) anti-glare screen with micro-edge bezels. Delivers clear details and comfortable viewing for long study sessions, working on spreadsheets, and video playback
  • RESPONSIVE MULTITASKING & STORAGE: Built with 4GB LPDDR4 RAM and 128GB eMMC storage for smooth daily essential use. Expand your storage by up to 1TB via the integrated TF card slot to easily store movies, photos, and working files
  • ADVANCED CONNECTIVITY: Outfitted with 2x Full-Featured Type-C ports for data transfer, fast charging, and dual-monitor output, alongside 2x USB 3.2 Gen1 ports and a 3.5mm audio jack for complete peripheral compatibility
  • LIGHTWEIGHT & SILENT OPERATION: Slim and portable for effortless travel or commuting. Features a 1MP HD webcam for remote meetings, 38Wh battery with 45W Type-C fast charging, and a fanless silent design for peaceful work environments.

Cache path does not match the example

The chrome-win64chrome.exe layout is relative to Puppeteer’s browser cache; it is not a guaranteed installation path for desktop Chrome. Use Puppeteer’s browser APIs or installation guide to manage the downloaded browser instead of guessing where its cache lives.

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

Or skip the browser setup

ScreenshotNeo can return a screenshot or PDF with one GET request, without configuring Puppeteer or a local Chrome path. Its capture flow accepts cookie and consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each of those steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and the response identifies the page verdict and billing status in headers. An MCP server exposes screenshot tools to AI agents. The free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp

See the ScreenshotNeo API documentation for options. Sign up for the free plan to get 1,000 screenshots a month with no card.

Best Value
15.6 Inch Win 11 Laptop Computer, N4020, 4GB DDR4 RAM, 128GB Storage
  • WINDOWS 11 | STABLE PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 system, this laptop delivers stable performance for everyday computing tasks. It supports web browsing, online learning, document editing, email communication, and basic office work with optimized power efficiency, providing a practical and reliable experience for essential daily use for daily use.
  • 15.6” FHD IPS DISPLAY: Features a 15.6-inch Full HD IPS display with narrow bezels, offering wider viewing angles and clearer image details compared to standard panels. The improved screen-to-body ratio enhances visual experience for study, reading, document work, and video playback, making it suitable for both productivity and entertainment use.
  • 4GB DDR4 + 128GB eMMC STORAGE: Equipped with 4GB DDR4 memory and 128GB eMMC storage for everyday basics such as browsing, documents, email, and online learning platforms. The built-in TF card slot supports storage expansion up to 1TB, giving you more flexibility for files, photos, videos, and daily documents. TF card not included.
  • CONNECTIVITY & PORTS: Includes 1× TF card slot, 2× USB 3.2 Gen1 ports, and 2× full-featured Type-C ports (USB 3.2 Gen1). The Type-C ports support data transfer, charging, and video output, enabling flexible connection with external devices such as monitors, storage, and peripherals for daily work and study use.
  • LIGHTWEIGHT DESIGN | ONLINE COMMUNICATION: Designed with a slim, portable profile, this laptop is easy to carry for school, commuting, and travel. A built-in 1MP front camera supports online classes, video meetings, remote communication, and everyday conferencing. The 3300mAh battery works with the low-power system design to support practical daily use, while thermal optimization helps maintain quieter operation during extended tasks.

Frequently Asked Questions

Does Puppeteer require a custom Chrome path on Windows?

No. The full puppeteer package downloads a compatible browser; an explicit path is for choosing a separately managed executable.

Can I use PUPPETEER_EXECUTABLE_PATH with puppeteer-core?

No. Puppeteer documents that configuration and environment-variable settings are ignored by puppeteer-core.

Quick Recap

Bestseller No. 1
HP 14' HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
HP 14" HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
$245.99
Bestseller No. 2
Dell Latitude 3190 11.6' HD 2-in-1 Touchscreen Laptop Intel N5030 1.1Ghz 4GB Ram 128GB SSD Windows 11 Professional (Renewed)
Dell Latitude 3190 11.6" HD 2-in-1 Touchscreen Laptop Intel N5030 1.1Ghz 4GB Ram 128GB SSD Windows 11 Professional (Renewed)
1.1 GHz (boost up to 2.4GHz) Intel Celeron N5030 Quad-Core; 4GB DDR4 System Memory; 128GB Solid State Drive
Bestseller No. 3
Dell Latitude 5420 14' FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
256 GB SSD of storage.; Multitasking is easy with 16GB of RAM; Equipped with a blazing fast Core i5 2.00 GHz processor.
$285.00

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.

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

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

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

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.