我正在使用selenium-webdriver
自动执行与 Web 浏览器相关的任务。但是当我执行以下操作时,得到了如下的一部分messgaes
。为什么会这样,你能告诉我吗?以及如何压制它的任何想法?
irb(main):001:0> require "selenium-webdriver"
=> true
irb(main):002:0> driver=Selenium::WebDriver.for :firefox
*** LOG addons.manager: Application has been upgraded
*** LOG addons.xpi: startup
*** WARN addons.xpi: Ignoring missing add-on in C:\Program Files\SearchPredict\P
RFireFox
*** WARN addons.xpi: Ignoring missing add-on in C:\Program Files\SpeedBit Video
Downloader\SPFireFox
*** WARN addons.xpi: Ignoring missing add-on in C:\Program Files\Web Assistant\F
irefox
*** WARN addons.xpi: Ignoring missing add-on in C:\Program Files\Iminent\webboos
ter@iminent.com
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi-utils: Opening database
*** LOG addons.xpi-utils: Creating database schema
*** LOG addons.xpi: New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.xpi: New add-on {F17C1572-C9EC-4e5c-A542-D05CBB5C5A08} installed
in winreg-app-user
*** LOG addons.xpi: New add-on ffxtlbr@babylon.com installed in app-global
*** WARN addons.xpi: Add-on is invalid: Error: Directory C:\Program Files\Mozill
a Firefox\extensions\ffxtlbr@babylon.com does not contain a valid install manife
st
*** WARN addons.xpi: Could not uninstall invalid item from locked install locati
on
*** LOG addons.xpi: New add-on {1FD91A9C-410C-4090-BBCC-55D3450EF433} installed
in app-global
*** LOG addons.xpi: New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed
in app-global
*** LOG addons.xpi: New add-on m3ffxtbr@mywebsearch.com installed in winreg-app-
global
*** LOG addons.xpi: New add-on avg@toolbar installed in winreg-app-global
*** LOG addons.xpi: New add-on daplinkchecker@speedbit.com installed in winreg-a
pp-global
*** LOG addons.xpi: New add-on wrc@avast.com installed in winreg-app-global
*** LOG addons.xpi: Updating database with changes to installed add-ons
*** LOG addons.xpi-utils: Updating add-on states
*** LOG addons.xpi-utils: Writing add-ons list
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi-utils: Database closed
*** LOG addons.xpi: startup
*** WARN addons.xpi: Ignoring missing add-on in C:\Program Files\SearchPredict\P
RFireFox
*** WARN addons.xpi: Ignoring missing add-on in C:\Program Files\SpeedBit Video
Downloader\SPFireFox
*** WARN addons.xpi: Ignoring missing add-on in C:\Program Files\Web Assistant\F
irefox
*** WARN addons.xpi: Ignoring missing add-on in C:\Program Files\Iminent\webboos
ter@iminent.com
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
=> #<Selenium::WebDriver::Driver:0x..fbe37f7d8 browser=:firefox>
irb(main):003:0>