Chrome for Testing バイナリをダウンロードする

Chrome for Testing の提供状況ダッシュボードでは、Chrome リリース チャンネルごとに利用可能な最新のクロスプラットフォームの Chrome for Testing のバージョンとアセットを確認できます。

npm を使用してダウンロードする

プラットフォーム用の Chrome for Testing バイナリをダウンロードする最も簡単な方法は、our @puppeteer/browsers command-line utility を使用することです。これは 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 エンドポイントを使用してダウンロードする

これらのバイナリをダウンロードするための自動スクリプトを独自に作成する場合は、Chrome リリース チャンネル(安定版、ベータ版、デベロッパー版、Canary)ごとに利用可能な最新バージョンを含む JSON API エンドポイントをご覧ください。

コミット単位で Chrome for Testing ビルドをダウンロードする

Chrome バージョンごとの上記の Chrome for Testing リリースに加えて、2025 年 3 月以降は、コミット単位で Chrome for Testing ビルドをダウンロードすることもできます。これらはユースケースが若干異なり、主に Chrome のバグの二分探索をより迅速かつ正確に行うことを目的としています。