端點 | 描述 |
---|---|
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
標籤