Skip to content

[🐛 Bug]: webdriver exception with selenium 4.1.1 upgrade while launching firefox browser #10301

@Tejareddy1

Description

@Tejareddy1

What happened?

Getting WebDriverException with selenium upgrade from selenium 3.141.59 to 4.1.1 while launching firefox browser in my project.
Please help me with the solution if any configurations are required here.

Caused by: org.openqa.selenium.WebDriverException: Build info: version: '4.1.1', revision: 'e8fcc2cecf'
System info: host: 'l100779min.rpega.com', ip: '2409:4070:2505:a772:57:ecac:b10d:51c0%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.7', java.version: '1.8.0_292'
Driver info: driver.version: FirefoxDriver
at java.util.Optional.orElseThrow(Optional.java:290)
at org.openqa.selenium.firefox.FirefoxDriver.toExecutor(FirefoxDriver.java:230)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:186)

How can we reproduce the issue?

Getting WebDriverException with selenium upgrade from selenium 3.141.59 to 4.1.1 while launching firefox browser in my project.
Please help me with the solution if any configurations are required here.
I am using geckodriver binary 0.30.0 version

Caused by: org.openqa.selenium.WebDriverException: Build info: version: '4.1.1', revision: 'e8fcc2cecf'
System info: host: 'l100779min.rpega.com', ip: '2409:4070:2505:a772:57:ecac:b10d:51c0%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.7', java.version: '1.8.0_292'
Driver info: driver.version: FirefoxDriver
        at java.util.Optional.orElseThrow(Optional.java:290)
        at org.openqa.selenium.firefox.FirefoxDriver.toExecutor(FirefoxDriver.java:230)
        at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)

Relevant log output

Caused by: org.openqa.selenium.WebDriverException: Build info: version: '4.1.1', revision: 'e8fcc2cecf'
System info: host: 'l100779min.rpega.com', ip: '2409:4070:2505:a772:57:ecac:b10d:51c0%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.7', java.version: '1.8.0_292'
Driver info: driver.version: FirefoxDriver
        at java.util.Optional.orElseThrow(Optional.java:290)
        at org.openqa.selenium.firefox.FirefoxDriver.toExecutor(FirefoxDriver.java:230)
        at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)

Operating System

macOS

Selenium version

java 1.8

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

firefox 96

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

gecko driver 0.30.0

Are you using Selenium Grid?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-javaJava BindingsI-defectSomething is not working as intendedJ-awaiting answerQuestion asked of user; a reply moves it to triage again

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions