From 6fd5e5c3aa0ceedd4c997d89c9f6fd1678ba63ce Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Sat, 28 Mar 2026 12:57:08 +0100 Subject: [PATCH] fix: pull CfT version from official JSON endpoint --- src/scripts/install_chrome_for_testing.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/install_chrome_for_testing.sh b/src/scripts/install_chrome_for_testing.sh index 95bd42f..92a84a0 100755 --- a/src/scripts/install_chrome_for_testing.sh +++ b/src/scripts/install_chrome_for_testing.sh @@ -32,7 +32,7 @@ fi if uname -a | grep Darwin >/dev/null 2>&1; then if [[ "$PROCESSED_CHROME_VERSION" == "latest" ]]; then - LATEST_VERSION="$(curl -s 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Mac' | jq -r ' .[0] | .version ')" + LATEST_VERSION="$(curl -s 'https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json' | jq -r '.channels.Stable.version')" target_version="$LATEST_VERSION" else target_version="$PROCESSED_CHROME_VERSION" @@ -58,7 +58,7 @@ if uname -a | grep Darwin >/dev/null 2>&1; then fi elif command -v apt >/dev/null 2>&1; then if [[ "$PROCESSED_CHROME_VERSION" == "latest" ]]; then - LATEST_VERSION="$(curl -s 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Linux' | jq -r ' .[0] | .version ')" + LATEST_VERSION="$(curl -s 'https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json' | jq -r '.channels.Stable.version')" target_version="$LATEST_VERSION" else target_version="$PROCESSED_CHROME_VERSION"