user1590561
user1590561

Reputation: 613

How to prevent logging for FirefoxDriver?

I have WebDriver 2.41 and Firefox 28 and when my test creates instance of FirefoxDriver I see the following strings in console:

*** LOG addons.manager: Application has been upgraded
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: checkForChanges 
.................

How I can turn off this logging?

Upvotes: 5

Views: 665

Answers (1)

Anton Angelov
Anton Angelov

Reputation: 1713

Your Firefox version is upgraded which is not supported by Selenium. So downgrade to version 28. It will work fine.

You can download the required version of firefox from here:

To stop updating the firefox automatically, uninstall the Mozilla Maintenance Service ( in Windows) & in Tools -> Options -> Advanced -> Updates Tab, disable 'updates checking for addons & firefox'

Best,

Anton

Upvotes: 1

Related Questions