Skip to content

[🐛 Bug]: In 4.12.0 unable to download Firefox Browser, In case Firefox is not installed #12670

@prnbtr09

Description

@prnbtr09

What happened?

Steps to Reproduce:

  1. Uninstall Firefox browser from windows machine
  2. Provide Firefox option and provide browserVersion let us say 115
  3. Initialize Firefox driver using above firefox options
  4. Trigger the execution

Actual Result:
Unable to download firefox browser 115

Expected Result:
As per latest functionality Browser binary should be downloaded alongside geckodriver and execution should take place

Additional Details:
I tried running Selenium Manager in Debug mode: there I saw browser is getting downloaded in cache section but it is unable to locate gecko driver which is also available in .cache

What browsers and operating systems are you seeing the problem on?

os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.20.1'

Framework:
Selenium with Java and JDK used 11 and 17 both.

Error:
Exception in thread "main" org.openqa.selenium.remote.NoSuchDriverException: Unable to obtain: Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: Optional.empty, moz:debuggerAddress: true, moz:firefoxOptions: {}}, error Command failed with code: 65, executed: [--browser, firefox, --output, json, --browser-version, 115]
firefox 115 cannot be downloaded

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-rustRust code is mostly Selenium ManagerR-awaiting mergePR depends on another PR for merging

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions