Skip to content
Browse files

Prevent the FF plugin check from triggering

  • Loading branch information...
1 parent 187a664 commit dfe71a362553fb089902dd4f6a2f01a1ddfe98e0 @jfirebaugh committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/capybara/firebug.rb
View
5 lib/capybara/firebug.rb
@@ -13,6 +13,11 @@ def enable_firebug(version = nil)
version ||= Selenium::WebDriver::Firefox::Profile.firebug_version
add_extension(File.expand_path("../firebug-#{version}.xpi", __FILE__))
+ # For some reason, Firebug seems to trigger the Firefox plugin check
+ # (navigating to https://www.mozilla.org/en-US/plugincheck/ at startup).
+ # This prevents it. See http://code.google.com/p/selenium/issues/detail?id=4619.
+ self["extensions.blocklist.enabled"] = false
+
# Prevent "Welcome!" tab
self["extensions.firebug.showFirstRunPage"] = false

0 comments on commit dfe71a3

Please sign in to comment.
Something went wrong with that request. Please try again.