From 94455404067251ff69cfe540d9e5e4e3cc093eeb Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Mon, 14 Sep 2026 08:38:41 +0200 Subject: [PATCH 1/2] Chromedriver 153 Change-Id: Ia69bdb6212566664125e7f6425e1bdd4b6f66cfc --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index b61873bce..5097a5d9e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@devicefarmer/adbkit": "3.3.8", - "@sitespeed.io/chromedriver": "149.0.7827", + "@sitespeed.io/chromedriver": "153.0.8010", "@sitespeed.io/edgedriver": "149.0.4022", "@sitespeed.io/geckodriver": "0.36.2", "@sitespeed.io/log": "2.0.0", @@ -1311,9 +1311,9 @@ } }, "node_modules/@sitespeed.io/chromedriver": { - "version": "149.0.7827", - "resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-149.0.7827.tgz", - "integrity": "sha512-1KJJ9lNr6v8drOrrYSK6zwV2K4ZV0m7beDJSgIpvESpFCqdUfumdm0czQ0WocgdONNiGAlVmtL+ocx9oRmDbQQ==", + "version": "153.0.8010", + "resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-153.0.8010.tgz", + "integrity": "sha512-YAlIdabZR40suwfhcvwDBWCJ1Ul74YDymkr1u2lhJEmxCtS6Q4uJep3/QVM/wyV5DCtwu2QKZFrU0sbvUb4Qug==", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -6959,9 +6959,9 @@ "dev": true }, "@sitespeed.io/chromedriver": { - "version": "149.0.7827", - "resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-149.0.7827.tgz", - "integrity": "sha512-1KJJ9lNr6v8drOrrYSK6zwV2K4ZV0m7beDJSgIpvESpFCqdUfumdm0czQ0WocgdONNiGAlVmtL+ocx9oRmDbQQ==", + "version": "153.0.8010", + "resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-153.0.8010.tgz", + "integrity": "sha512-YAlIdabZR40suwfhcvwDBWCJ1Ul74YDymkr1u2lhJEmxCtS6Q4uJep3/QVM/wyV5DCtwu2QKZFrU0sbvUb4Qug==", "requires": { "node-stream-zip": "1.15.0" } diff --git a/package.json b/package.json index c07456e15..79f9f75fd 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "types": "./scripting.d.ts", "dependencies": { "@devicefarmer/adbkit": "3.3.8", - "@sitespeed.io/chromedriver": "149.0.7827", + "@sitespeed.io/chromedriver": "153.0.8010", "@sitespeed.io/edgedriver": "149.0.4022", "@sitespeed.io/geckodriver": "0.36.2", "@sitespeed.io/log": "2.0.0", From db7cf0173770e81aefcb4e311f723873e0ba6f20 Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Mon, 14 Sep 2026 08:56:20 +0200 Subject: [PATCH 2/2] Use a device name chromedriver 153 still knows Chromedriver builds its mobile emulation device table from the DevTools frontend device list. Chrome 153 removed the legacy iPhone 4, 5/SE, 6/7/8 and X entries from that list, so the CI step that emulated 'iPhone 6' failed with "must be a valid device". The CLI help suggested the same name to users, so both now use a name that survives in 153. Co-authored-by: Claude Fable 5.1 noreply@anthropic.com Change-Id: Ic6a429552518354bdb702f72a495e256c7b259b3 --- .github/workflows/linux-chrome.yml | 2 +- lib/support/cli.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux-chrome.yml b/.github/workflows/linux-chrome.yml index dabe219a4..5882645f9 100644 --- a/.github/workflows/linux-chrome.yml +++ b/.github/workflows/linux-chrome.yml @@ -64,7 +64,7 @@ jobs: - name: Test pre/post scripts run: ./bin/browsertime.js -b chrome test/data/navigationscript/measure.cjs -n 1 --preScript test/data/prepostscripts/preSample.cjs --postScript test/data/prepostscripts/postSample.cjs --xvfb - name: Test Chrome with emulated mobile - run: ./bin/browsertime.js -b chrome --chrome.mobileEmulation.deviceName 'iPhone 6' http://127.0.0.1:3000/simple/ --xvfb + run: ./bin/browsertime.js -b chrome --chrome.mobileEmulation.deviceName 'iPhone 12 Pro' http://127.0.0.1:3000/simple/ --xvfb - name: Test Chrome with web driver nagivation run: ./bin/browsertime.js -b chrome -n 1 http://127.0.0.1:3000/simple/ --webdriverPageload --xvfb - name: Test navigate to the same URL twice diff --git a/lib/support/cli.js b/lib/support/cli.js index d4dfb0413..3abb3b2b7 100644 --- a/lib/support/cli.js +++ b/lib/support/cli.js @@ -242,7 +242,7 @@ export function parseCommandLine() { }) .option('chrome.mobileEmulation.deviceName', { describe: - "Name of device to emulate. Works only standalone (see list in Chrome DevTools, but add phone like 'iPhone 6'). This will override your userAgent string.", + "Name of device to emulate. Works only standalone (see list in Chrome DevTools, but add phone like 'iPhone 12 Pro'). This will override your userAgent string.", group: 'chrome' }) .option('chrome.mobileEmulation.width', {