Skip to content

[🐛 Bug]: [Ruby] Selenium manger in offline mode emits a warning #15836

Open
@MatzFan

Description

@MatzFan

Description

This is a duplicate/reopening of #13809 but for the Ruby bindings - i.e. the log message "Exception managing firefox: Unable to discover proper geckodriver version in offline mode" is still set at [WARN], not [DEBUG] level when SE_OFFLINE is "true".

Reproducible Code

# with env var SE_OFFLINE set to "true"

require 'selenium-webdriver'

driver = Selenium::WebDriver.for :firefox
driver.quit

Debugging Logs

In my terminal output I see the following:

INFO Selenium [:logger_info] Details on how to use and modify Selenium logger:
  https://selenium.dev/documentation/webdriver/troubleshooting/logging

WARN Selenium [:selenium_manager] Exception managing firefox: Unable to discover proper geckodriver version in offline mode

The second message should be DEBUG level. Also, the first message does not appear when SE_OFFLINE is not set to true, so I expect that should not be there either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!C-rbRuby BindingsD-firefoxI-defectSomething is not working as intendedOS-linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions