-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to disable legacy Firefox driver error logging #4136
Comments
+1 here . . . without any changes in config, simply bumping to the latest selenium version is slowing down our CI due to all the log output. Explicitly setting the logging level to fatal does successfully disable
However it does not stop the logs coming from things like
|
is there a released selenium version with this fix? i'm on 3.5.3 using the legacy Firefox driver and i still see all the printouts discussed in this PR. the comments in #4362 suggest this issue has been fixed. |
@snowymike I did some workaround If you are interested. That way gecko driver logs disappear. But the caveat is there will be cmd prompt running as long as the tests are running. |
Yep, this issue was closed by mistake, it's related to legacy FirefoxDriver |
@biligunb thanks, but in my case i'm using the legacy firefox driver. just upgraded to 3.5.3 selenium in prep for later transitioning to gecko, but not there yet. @barancev thanks for reopening. if there is any workaround while awaiting a production fix please let me know. i don't require any logging from the firefox driver, so a "turn everything off" workaround is all i'd need. |
Huh, weird. Removing the |
@jhmoore in which selenium-java version is that -vv fix? in case it's relevant, i'm still on firefox 47.0.1. this selenium upgrade is step 1 of (hopefully) transitioning to gecko driver. |
@snowymike the |
is it likely we'll get a fix for this? i upgraded to selenium 3.5.3 in prep for switching to geckodriver, but i still see plenty of issues getting our code to work with geckodriver (e.g. clicks that work in chrome/ie/legacy firefox aren't working in geckodriver) that will likely take me quite a bit of time to work through. if we're able to fix this log issue for the legacy firefox driver that'd be great. |
thanks. is there a released selenium version with the fix, or will it be in a not yet released 3.7.x version? |
It will be in 3.7 |
Meta -
OS: Windows 7
Selenium Version: Selenium Java 3.4.0
Browser: Firefox ESR 52.1.2 (32-bit) or Firefox 47.0.2 (32-bit)
Expected Behavior -
Firefox error logging is disabled by default.
Actual Behavior -
Many error log lines are displayed in console, like this:
1496760190989 addons.manager DEBUG Application has been upgraded
1496760191029 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1496760191031 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1496760191034 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/GMPProvider.jsm
1496760191036 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/PluginProvider.jsm
1496760191037 addons.manager DEBUG Starting provider: XPIProvider
1496760191037 addons.xpi DEBUG startup
1496760191038 addons.xpi INFO SystemAddonInstallLocation directory is missing
1496760191039 addons.xpi INFO Mapping aushelper@mozilla.org to C:\Program Files (x86)\Mozilla Firefox\browser\features\aushelper@mozilla.org.xpi
1496760191039 addons.xpi INFO Mapping e10srollout@mozilla.org to C:\Program Files (x86)\Mozilla Firefox\browser\features\e10srollout@mozilla.org.xpi
1496760191039 addons.xpi INFO Mapping firefox@getpocket.com to C:\Program Files (x86)\Mozilla Firefox\browser\features\firefox@getpocket.com.xpi
1496760191039 addons.xpi INFO Mapping webcompat@mozilla.org to C:\Program Files (x86)\Mozilla Firefox\browser\features\webcompat@mozilla.org.xpi
1496760191040 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program Files (x86)\Mozilla Firefox\browser\extensions{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
1496760191041 addons.xpi DEBUG Skipping unavailable install location app-system-share
1496760191041 addons.xpi DEBUG Skipping unavailable install location app-system-local
Steps to reproduce -
Start firefox legacy webdriver using:
OR
Note: Issue appeared in Selenium Java 3.4.0. On Selenium Java 3.3.1 error logs were absent.
The text was updated successfully, but these errors were encountered: