下载 Chrome for Testing 二进制文件

Chrome for Testing 可用性信息中心,您可以按 Chrome 发布渠道查看最新的可用跨平台 Chrome for Testing 版本和资源。

使用 npm 下载

下载适用于您平台的 Chrome for Testing 二进制文件最简单的方法是使用 我们的 @puppeteer/browsers 命令行实用程序,该实用程序可通过 npm 获取。下面是一些示例:

# Download the latest available Chrome for Testing binary corresponding to the Stable channel.
npx @puppeteer/browsers install chrome@stable

# Download a specific Chrome for Testing version.
npx @puppeteer/browsers install chrome@116.0.5793.0

# Download the latest available ChromeDriver version corresponding to the Canary channel.
npx @puppeteer/browsers install chromedriver@canary

# Download a specific ChromeDriver version.
npx @puppeteer/browsers install chromedriver@116.0.5793.0

使用 JSON API 端点下载

如果您更喜欢构建自己的自动化脚本来下载这些二进制文件,请查看 JSON API 端点,其中包含每个 Chrome 发布渠道(稳定版、Beta 版、开发者版、Canary 版)的最新可用版本。

下载每次提交的 Chrome for Testing build

除了上述每个 Chrome 版本的 Chrome for Testing 版本之外,自 2025 年 3 月起,您还可以下载 每次提交的 Chrome for Testing build。它们的用例略有不同,主要目的是让 Chrome bug 二分法更快、更精确。