Skip to content

[🐛 Bug]: Selenium/geckodriver/Firefox not working on RHEL (Python) #12487

@gf-salomao

Description

@gf-salomao

What happened?

(sorry if this is not the right place to post)
webdriver.Firefox( ) command is not working using Selenium, geckodriver and Firefox on Red Hat Enterprise Linux release 8.5 (Ootpa). I searched and this error is usually a version problem, but versions are compatible following this link

OS: Red Hat Enterprise Linux release 8.5 (Ootpa)
Selenium version: 4.8.0
geckodriver version: 0.33.0
Firefox version: 102.13.0esr

Python version: 3.8.16

How can we reproduce the issue?

By simply using:

>>> from selenium import webdriver
>>> driver = webdriver.Firefox()

Relevant log output

>>> from selenium import webdriver
>>> driver = webdriver.Firefox()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/firefox/webdriver.py", line 196, in __init__
    super().__init__(command_executor=executor, options=options, keep_alive=True)
  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 286, in __init__
    self.start_session(capabilities, browser_profile)
  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 378, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status 1

Operating System

Red Hat Enterprise Linux release 8.5 (Ootpa)

Selenium version

4.8.0

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

Mozilla Firefox 102.13.0esr

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

geckodriver 0.33.0

Are you using Selenium Grid?

no

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!I-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