我有WebDriver 2.41和Firefox28,当我的测试创建FirefoxDriver实例时,我在控制台中看到以下字符串:
*** 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
.................我怎么能关掉这个日志?
发布于 2015-05-05 13:00:30
Firefox版本已经升级,Selenium不支持它。所以降级到28版。会很好的。
您可以从这里下载所需的firefox版本:
要停止自动更新firefox,请卸载Mozilla维护服务(在Windows中)&在Tools -> Options -> Advanced -> Updates 中,禁用“更新检查插件&firefox
e 210”
最好的
安东
https://stackoverflow.com/questions/23244580
复制相似问题