When selenium manager is run in a restricted environment (access to public internet is not allowed) and when offline mode is to true
. Then selenium manager creates a warning (at least with Python bindings) that it can not access to public internet. When offline mode is set to true, I think such warning should not be created.
true
from selenium import webdriver driver = webdriver.Firefox() driver.quit()
Then selenium manager will be run like this:/path/to/python/site-packages/selenium/webdriver/common/linux/selenium-manager --browser firefox --language-binding python --trace --output json
In this case the selenium manager output will contain this json snippet:
{ "level": "WARN", "timestamp": 1712839173, "message": "Exception managing firefox: Unable to discover proper geckodriver version in offline mode" }
After that, selenium Python bindings will collect the output and log all warning messages: https://github.com/SeleniumHQ/selenium/blob/selenium-4.19.0/py/selenium/webdriver/common/selenium_manager.py#L148
Relevant log outputIn logs, I see this warning: Exception managing firefox: Unable to discover proper geckodriver version in offline mode
Ubuntu 22
Selenium versionPython 4.19
What are the browser(s) and version(s) where you see this issue?Firefox 124.0.1
What are the browser driver(s) and version(s) where you see this issue?Geckodriver 0.34.0
Are you using Selenium Grid?Not using
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