Builds standard archive filename for browser downloads.
// Source: https://github.com/puppeteer/puppeteer | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/**
* @license
* Copyright 2026 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
import type {Browser, BrowserPlatform} from './browser-data/browser-data.js';
/**
* Options passed to a provider.
* @public
*/
export interface DownloadOptions {
browser: Browser;
platform: BrowserPlatform;
buildId: string;
}
/**
* Interface for custom browser provider implementations.
* Allows users to implement alternative download sources for browsers.
*
* ⚠️ **IMPORTANT**: Custom providers are NOT officially supported by
* Puppeteer.
*
* By implementing this interface, you a
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key