Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛 Bug]: SM does not pull latest minor releases for previous versions of firefox #14536

Open
elliottj opened this issue Sep 25, 2024 · 1 comment

Comments

@elliottj
Copy link

elliottj commented Sep 25, 2024

What happened?

Running Selenium Manager Windows 0.4.25 command line to pull latest Firefox 127 version shows:

c:\Temp>selenium-manager-windows.exe --browser firefox --browser-version 127 --debug
[2024-09-25T11:47:46.705Z DEBUG] Sending stats to Plausible: Props { browser: "firefox", browser_version: "127", os: "windows", arch: "amd64", lang: "", selenium_version: "4.25" }
[2024-09-25T11:47:46.749Z DEBUG] geckodriver not found in PATH
[2024-09-25T11:47:46.749Z DEBUG] firefox detected at C:\Program Files\Mozilla Firefox\firefox.exe
[2024-09-25T11:47:46.750Z DEBUG] Running command: wmic datafile where name='C:\\Program Files\\Mozilla Firefox\\firefox.exe' get Version /value
[2024-09-25T11:47:46.981Z DEBUG] Output: "\r\r\n\r\r\nVersion=130.0.1.967\r\r\n\r\r\n\r\r\n\r"
[2024-09-25T11:47:46.985Z DEBUG] Detected browser: firefox 130.0.1.967
[2024-09-25T11:47:46.987Z DEBUG] Discovered firefox version (130) different to specified browser version (127)
[2024-09-25T11:47:46.990Z DEBUG] Required browser: firefox 127.0
[2024-09-25T11:47:46.990Z DEBUG] Downloading firefox 127.0 from https://ftp.mozilla.org/pub/firefox/releases/127.0/win64/en-US/Firefox%20Setup%20127.0.exe

It's downloading 127.0 but, as per https://www.mozilla.org/en-US/firefox/releases/, the current latest version is 127.0.2.

First noticed when using Selenium 4.25 release, previously working under Selenium 4.18.

Likely linked to 0.42 change:
"Use Firefox history major releases endpoint for version discovery"

How can we reproduce the issue?

See above.

Relevant log output

See above.

Operating System

Windows 10

Selenium version

Java 4.24.0

What are the browser(s) and version(s) where you see this issue?

Firefox

What are the browser driver(s) and version(s) where you see this issue?

Any version that is not latest, but has it's own later minor version.

Are you using Selenium Grid?

n/a

Copy link

@elliottj, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant