A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/SeleniumHQ/selenium/issues/15836 below:

[Ruby] Selenium manger in offline mode emits a warning · Issue #15836 · SeleniumHQ/selenium · GitHub

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4