From 0d2dda17b4c4aba6ab0537f9d28910527c45a38b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boni=20Garc=C3=ADa?= Date: Mon, 18 Nov 2024 16:51:19 +0100 Subject: [PATCH] [rust] Use endpoint for stable versions first to manage Firefox (#14536) (#14613) --- rust/src/firefox.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rust/src/firefox.rs b/rust/src/firefox.rs index c0ee53fc4ddc8..d071dd741b316 100644 --- a/rust/src/firefox.rs +++ b/rust/src/firefox.rs @@ -478,9 +478,10 @@ impl SeleniumManager for FirefoxManager { } let mut firefox_versions = - self.request_versions_from_online(FIREFOX_HISTORY_MAJOR_ENDPOINT)?; + self.request_versions_from_online(FIREFOX_HISTORY_ENDPOINT)?; if firefox_versions.is_empty() { - firefox_versions = self.request_versions_from_online(FIREFOX_HISTORY_ENDPOINT)?; + firefox_versions = + self.request_versions_from_online(FIREFOX_HISTORY_MAJOR_ENDPOINT)?; if firefox_versions.is_empty() { firefox_versions = self.request_versions_from_online(FIREFOX_HISTORY_DEV_ENDPOINT)?;