端点 | 描述 |
---|---|
known-good-versions.json | 所有 CfT 资产都可供下载的版本。对于二等分很有用。 |
known-good-versions-with-downloads.json | 与上面相同,但每个版本都有一个额外的downloads 属性,列出每个资产的完整下载 URL。 |
last-known-good-versions.json | 每个 Chrome 发布渠道(稳定版/测试版/开发版/金丝雀版)的所有 CfT 资产均可下载的最新版本。 |
last-known-good-versions-with-downloads.json | 与上面相同,但每个频道都有一个额外的downloads 属性,列出每个资产的完整下载 URL。 |
latest-patch-versions-per-build.json | 对于每个已知的MAJOR.MINOR.BUILD 版本组合,所有 CfT 资产均可下载的最新版本。 |
latest-patch-versions-per-build-with-downloads.json | 与上面相同,但每个版本都有一个额外的downloads 属性,列出每个资产的完整下载 URL。 |
latest-versions-per-milestone.json | 对于每个 Chrome 里程碑,所有 CfT 资源都可供下载的最新版本。 |
latest-versions-per-milestone-with-downloads.json | 与上面相同,但每个里程碑都有一个额外的downloads 属性,列出每个资产的完整下载 URL。 |
给定 Chrome 版本的“所有 CfT 资产”集是受支持的二进制文件 × 平台的矩阵。
当前支持的二进制文件列表是:
chrome
又名 Chrome 用于测试(自 v113.0.5672.0 起受支持)chromedriver
(自 v115.0.5763.0 起支持)chrome-headless-shell
(自 v120.0.6098.0 起支持)当前支持的平台列表是:
linux64
mac-arm64
mac-x64
win32
win64
由于历史原因,包含完全限定版本号的LATEST_RELEASE_
文件也可用。
https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_116
回答了“里程碑 116 中最新的可用版本是什么?”的问题。https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_116.0.5845
回答了“116.0.5845.* 范围内最新的可用版本是什么?”的问题。https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_STABLE
回答了“最新可用的稳定通道版本是什么?”的问题。其他渠道( BETA
/ DEV
/ CANARY
)类似。这些可以分别用来代替latest-versions-per-milestone
、 latest-patch-versions-per-build
和last-known-good-versions
JSON API端点。
此外, known-good-versions-with-downloads.json
中的每个版本都会作为包含其下载 URL 的单独 JSON 文件发布,例如123.0.6309.0.json
。
您可以浏览 JSON 和文本文件的完整列表。
$ npm run find
> find
> node --no-warnings find-version.mjs
Checking the Stable channel…
Found versions: Set(2) { '113.0.5672.93', '113.0.5672.92' }
Recommended version for Stable channel: 113.0.5672.92
https://storage.googleapis.com/chrome-for-testing-public/113.0.5672.92/linux64/chrome-linux64.zip 404
https://storage.googleapis.com/chrome-for-testing-public/113.0.5672.92/mac-arm64/chrome-mac-arm64.zip 404
https://storage.googleapis.com/chrome-for-testing-public/113.0.5672.92/mac-x64/chrome-mac-x64.zip 404
https://storage.googleapis.com/chrome-for-testing-public/113.0.5672.92/win32/chrome-win32.zip 404
https://storage.googleapis.com/chrome-for-testing-public/113.0.5672.92/win64/chrome-win64.zip 404
https://storage.googleapis.com/chrome-for-testing-public/113.0.5672.92/linux64/chromedriver-linux64.zip 404
https://storage.googleapis.com/chrome-for-testing-public/113.0.5672.92/mac-arm64/chromedriver-mac-arm64.zip 404
https://storage.googleapis.com/chrome-for-testing-public/113.0.5672.92/mac-x64/chromedriver-mac-x64.zip 404
https://storage.googleapis.com/chrome-for-testing-public/113.0.5672.92/win32/chromedriver-win32.zip 404
https://storage.googleapis.com/chrome-for-testing-public/113.0.5672.92/win64/chromedriver-win64.zip 404
NOT OK
Checking the Beta channel…
Found versions: Set(1) { '114.0.5735.26' }
Recommended version for Beta channel: 114.0.5735.26
https://storage.googleapis.com/chrome-for-testing-public/114.0.5735.26/linux64/chrome-linux64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/114.0.5735.26/mac-arm64/chrome-mac-arm64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/114.0.5735.26/mac-x64/chrome-mac-x64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/114.0.5735.26/win32/chrome-win32.zip 200
https://storage.googleapis.com/chrome-for-testing-public/114.0.5735.26/win64/chrome-win64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/114.0.5735.26/linux64/chromedriver-linux64.zip 404
https://storage.googleapis.com/chrome-for-testing-public/114.0.5735.26/mac-arm64/chromedriver-mac-arm64.zip 404
https://storage.googleapis.com/chrome-for-testing-public/114.0.5735.26/mac-x64/chromedriver-mac-x64.zip 404
https://storage.googleapis.com/chrome-for-testing-public/114.0.5735.26/win32/chromedriver-win32.zip 404
https://storage.googleapis.com/chrome-for-testing-public/114.0.5735.26/win64/chromedriver-win64.zip 404
✅ OK
Checking the Dev channel…
Found versions: Set(1) { '115.0.5762.4' }
Recommended version for Dev channel: 115.0.5762.4
https://storage.googleapis.com/chrome-for-testing-public/115.0.5762.4/linux64/chrome-linux64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5762.4/mac-arm64/chrome-mac-arm64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5762.4/mac-x64/chrome-mac-x64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5762.4/win32/chrome-win32.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5762.4/win64/chrome-win64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5762.4/linux64/chromedriver-linux64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5762.4/mac-arm64/chromedriver-mac-arm64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5762.4/mac-x64/chromedriver-mac-x64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5762.4/win32/chromedriver-win32.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5762.4/win64/chromedriver-win64.zip 200
✅ OK
Checking the Canary channel…
Found versions: Set(2) { '115.0.5765.0', '115.0.5763.0' }
Recommended version for Canary channel: 115.0.5763.0
https://storage.googleapis.com/chrome-for-testing-public/115.0.5763.0/linux64/chrome-linux64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5763.0/mac-arm64/chrome-mac-arm64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5763.0/mac-x64/chrome-mac-x64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5763.0/win32/chrome-win32.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5763.0/win64/chrome-win64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5763.0/linux64/chromedriver-linux64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5763.0/mac-arm64/chromedriver-mac-arm64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5763.0/mac-x64/chromedriver-mac-x64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5763.0/win32/chromedriver-win32.zip 200
https://storage.googleapis.com/chrome-for-testing-public/115.0.5763.0/win64/chromedriver-win64.zip 200
✅ OK
$ npm run check 118.0.5962.0
> check
> node --no-warnings check-version.mjs "118.0.5962.0"
Checking downloads for v118.0.5962.0…
https://storage.googleapis.com/chrome-for-testing-public/118.0.5962.0/linux64/chrome-linux64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/118.0.5962.0/mac-arm64/chrome-mac-arm64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/118.0.5962.0/mac-x64/chrome-mac-x64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/118.0.5962.0/win32/chrome-win32.zip 200
https://storage.googleapis.com/chrome-for-testing-public/118.0.5962.0/win64/chrome-win64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/118.0.5962.0/linux64/chromedriver-linux64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/118.0.5962.0/mac-arm64/chromedriver-mac-arm64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/118.0.5962.0/mac-x64/chromedriver-mac-x64.zip 200
https://storage.googleapis.com/chrome-for-testing-public/118.0.5962.0/win32/chromedriver-win32.zip 200
https://storage.googleapis.com/chrome-for-testing-public/118.0.5962.0/win64/chromedriver-win64.zip 200
✅ OK
Chrome for Test 是一种新的 Chrome 风格,专门针对 Web 应用程序测试和自动化用例。阅读Chrome 测试:浏览器自动化的可靠下载了解更多详细信息。
使用@puppeteer/browsers
。
*.app
已损坏。现在怎么办?在 macOS 上,如果您使用浏览器而不是通过@puppeteer/browsers
、 curl
或wget
下载 Chrome 用于测试 ZIP 文件,您可能会收到以下警告:
“Google Chrome for Testing.app”已损坏且无法打开。您应该将其移至垃圾箱。
发生这种情况是因为 macOS Gatekeeper 设置了一个扩展属性,该属性将 ZIP 文件及其中的任何文件标记为“通过浏览器下载”,因此存在潜在危险。
要解决此问题,请递归删除扩展属性:
xattr -cr ' Google Chrome for Testing.app '
chrome-for-testing
标签