-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Description
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:
System.setProperty(FirefoxDriver.SystemProperty.DRIVER_USE_MARIONETTE, "false");
new FirefoxDriver();
OR
DesiredCapabilities capabilities = new FirefoxOptions().setLogLevel(Level.OFF).addTo(DesiredCapabilities.firefox());
capabilities.setCapability("marionette", false);
System.setProperty(FirefoxDriver.SystemProperty.DRIVER_USE_MARIONETTE, "false");
new FirefoxDriver(capabilities);
Note: Issue appeared in Selenium Java 3.4.0. On Selenium Java 3.3.1 error logs were absent.