From fd1c0632ddb4ef273d41875676a665f4934270d5 Mon Sep 17 00:00:00 2001 From: Dennis Ameling Date: Sat, 12 Jul 2025 19:04:08 +0200 Subject: [PATCH] [rust] Fix Windows arm64 logic for Selenium Manager and prepare CI --- .github/workflows/ci-rust.yml | 1 + rust/src/electron.rs | 2 +- rust/src/firefox.rs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-rust.yml b/.github/workflows/ci-rust.yml index 6b165b69cc05f..ddbbd28c742d3 100644 --- a/.github/workflows/ci-rust.yml +++ b/.github/workflows/ci-rust.yml @@ -36,6 +36,7 @@ jobs: - os: macos - os: ubuntu - os: windows + - os: windows-11-arm with: name: Tests (${{ matrix.os }}) cache-key: rust-test diff --git a/rust/src/electron.rs b/rust/src/electron.rs index 868e087111b54..ae089d98f26d0 100644 --- a/rust/src/electron.rs +++ b/rust/src/electron.rs @@ -207,7 +207,7 @@ impl SeleniumManager for ElectronManager { if X32.is(arch) { "win32-ia32" } else if ARM64.is(arch) { - "win32-arm64-x64" + "win32-arm64" } else { "win32-x64" } diff --git a/rust/src/firefox.rs b/rust/src/firefox.rs index 17b95933f5ba5..a71192f077d5f 100644 --- a/rust/src/firefox.rs +++ b/rust/src/firefox.rs @@ -554,7 +554,7 @@ impl SeleniumManager for FirefoxManager { if X32.is(arch) || major_browser_version < 42 { platform_label = "win32"; } else if ARM64.is(arch) { - platform_label = "win-aarch64"; + platform_label = "win64-aarch64"; } else { platform_label = "win64"; }