diff --git a/rust/tests/browser_download_tests.rs b/rust/tests/browser_download_tests.rs index 534831f7bba51..90f5c3bbddede 100644 --- a/rust/tests/browser_download_tests.rs +++ b/rust/tests/browser_download_tests.rs @@ -53,8 +53,11 @@ fn browser_latest_download_test(#[case] browser: String) { #[case("firefox", "beta")] #[case("firefox", "esr")] #[case("edge", "beta")] -fn browser_version_download_test(#[case] browser: String, #[case] browser_version: String) { +fn browser_version_download_test(#[case] browser: String, #[case] mut browser_version: String) { let mut cmd = Command::new(env!("CARGO_BIN_EXE_selenium-manager")); + if !OS.eq("windows") { + browser_version = "stable".to_string(); + } cmd.args([ "--browser", &browser,