DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk5 min

How Puppeteer Builds Browser Archive Filenames

Puppeteer’s standard archive filename, the provider’s URL filename, and the installer’s cached archive path are distinct. Here’s how to tell them apart.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Puppeteer documents buildArchiveFilename(browser, platform, buildId, extension) as a utility for building a “standard archive filename.” That does not mean every browser download uses that name: the provider supplies the download URL, and Puppeteer’s installer derives its temporary archive filename from the URL’s last path component, prefixing the build ID in its cache path.

Three different names serve three different purposes

When investigating a Puppeteer browser download, distinguish the utility’s standard name, the provider’s source archive name, and the installer’s temporary cached copy. None of these is necessarily the name of the browser executable after installation.

As an Amazon Associate I earn from qualifying purchases.

What you are identifying How it is determined What to keep in mind
Standard archive filename The documented buildArchiveFilename(browser, platform, buildId, extension) utility. The API index describes its purpose, but that description alone does not establish the exact filename template or default extension.
Provider’s source archive The archive at the URL selected for the browser, platform, and build ID. The URL’s final path component supplies its filename. Providers and releases can use different names and formats.
Installer’s temporary archive-cache path path.join(browserRoot, `${options.buildId}-${fileName}`), where fileName comes from the provider URL. This is a cache path, not necessarily the provider’s original filename or the eventual installation directory.
Installed browser files The separate installation location produced when Puppeteer unpacks the archive. An executable inside the installation is a different thing from the downloaded archive.

What buildArchiveFilename does—and what its documentation does not establish

Puppeteer’s browser API lists buildArchiveFilename(browser, platform, buildId, extension) as a utility to build a standard archive filename. The API separately lists getDownloadUrl, which obtains an archive URL associated with a browser, platform, and build ID, and install, which downloads and unpacks the archive.

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

These are related steps, not interchangeable names for the same operation. In particular, the API description of a “standard archive filename” does not by itself tell you the utility’s exact output pattern, whether an extension is added or normalized, or what happens for every browser and platform. The detailed API page was unavailable for verification, and the implementation’s exact current behavior is not established here. Do not assume a template or default extension without checking the implementation for the Puppeteer package version you use.

How installation gets its archive filename

  1. Resolve the provider URL. The download URL is tied to the browser, platform, and build ID. Different providers can supply different URL paths and archive names.
  2. Take the URL’s final path component. During installation, Puppeteer derives fileName from the last component of the provider URL.
  3. Build the cache archive path. The installer forms archivePath as path.join(browserRoot, `${options.buildId}-${fileName}`). The build ID is therefore prepended to the URL-derived filename in this cache path.
  4. Return the archive or unpack it. With unpack disabled, the operation returns or downloads the archive path. With unpacking enabled, Puppeteer installs into a distinct installation directory and removes the downloaded archive after successful processing.

The install options include the browser, platform, cache directory, build ID, and unpack choice. The build ID identifies the binary and is also used for caching. An optional expected SHA-256 checksum can be supplied; if it is omitted, the documented behavior is to proceed without that integrity verification.

Why real archive names vary

Archive names depend on the browser provider’s conventions, platform and architecture, build or release channel, and archive format. The API’s custom-provider examples show Chrome mirror filenames including chrome-linux64.zip, chrome-mac-x64.zip, chrome-mac-arm64.zip, chrome-win32.zip, and chrome-win64.zip. These illustrate platform-specific naming; they do not guarantee that every provider or release uses those names.

Firefox provides a concrete example of why a single universal filename pattern is unsafe. Its source constructs names using channel, platform, and build ID. Stable, Beta, ESR, and Developer Edition use patterns that differ from Nightly, and Linux, macOS, and Windows names also differ. For the Firefox Nightly Linux archives described by that source, major version 135 and later use .tar.xz; earlier major versions use .tar.bz2. This is a Firefox source-code rule for those archives, not a general Puppeteer extension rule.

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

How to identify the name you actually need

  • If you need the utility’s output: inspect buildArchiveFilename in the exact Puppeteer release or commit you run; the high-level API description does not specify its template.
  • If you need the upstream archive name: inspect the resolved provider URL for the target browser, platform, and build ID. Its last path component is the name the installer uses as fileName.
  • If you need the installer cache path: combine the configured browser root with the build ID, a hyphen, and that URL-derived final component, following the installer’s path construction.
  • If you need the installed executable path: inspect the installation layout after unpacking; do not infer it from the archive filename.

When comparing two filenames, record the browser, platform and architecture, build ID or channel, archive format, and whether each value names the source archive, temporary cache copy, or an installed file. Puppeteer’s API and implementation are mutable; version-specific conclusions should be checked against a release tag or commit rather than assumed to apply to every release.

Common filename and installation mistakes

  • Treating “standard” as “provider’s exact name”: the utility description does not establish that every provider uses its output. Check the provider URL and the specific version’s implementation.
  • Dropping the build-ID prefix when inspecting the cache: the temporary archive path adds ${options.buildId}- before the URL-derived filename.
  • Confusing cache archive and installation directory: unpacked files go to a separate installation location; after successful unpacking, the downloaded archive is removed.
  • Assuming an extension across browsers or releases: formats can vary by platform, channel, and build. Firefox Nightly Linux is one example where the extension depends on the major version.
  • Assuming checksum verification occurred: an expected SHA-256 checksum is optional. If it was not provided, the documented install flow proceeds without that verification.

Or skip the browser setup

If the goal is to capture a web page rather than manage a browser archive, ScreenshotNeo offers a website screenshot API and MCP server. One GET request can return an image or PDF; for example, this cURL request captures a page as WebP:

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

See the ScreenshotNeo API documentation for request options. Cookie banners, popups, and chat widgets are removed before the shot; bot checks, blank pages, and failed loads are never billed. An MCP server lets AI agents take screenshots, and the Free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000. Sign up for free.

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

Frequently Asked Questions

Does the build ID appear in the provider’s original archive filename?

Not necessarily. The installer adds the build ID when it constructs its temporary cache path; the original filename comes from the final component of the provider URL.

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

Does disabling unpacking leave an installed browser ready to run?

No. With unpacking disabled, the operation returns or downloads the archive path; unpacking is the step that installs browser files into a separate directory.

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.

Leave a Reply

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

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
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

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.