From 2f98e113fa4c8bfad9495196de98b8385a170075 Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Sun, 18 Oct 2026 23:09:10 +0200 Subject: [PATCH] Use the configured iOS device when pre-warming A typo in the option name meant the pre-warm run never picked up --safari.deviceUDID. With several iOS devices or simulators, the pre-warm could run on a different device than the real test. Assisted-by: Claude Opus 5.5 noreply@anthropic.com --- bin/browsertime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/browsertime.js b/bin/browsertime.js index 3a1a99ea4..1154b65e9 100755 --- a/bin/browsertime.js +++ b/bin/browsertime.js @@ -43,7 +43,7 @@ async function preWarmServer(urls, options) { const firefoxDevice = getProperty(options, 'firefox.android.deviceSerial'); const safariIos = getProperty(options, 'safari.ios'); const safariDeviceName = getProperty(options, 'safari.deviceName'); - const safariDeviceUDID = getProperty(options, 'safari.deviceUDID '); + const safariDeviceUDID = getProperty(options, 'safari.deviceUDID'); if (isAndroidConfigured(options) && options.browser === 'chrome') { setProperty(preWarmOptions, 'chrome.android.package', 'com.android.chrome');