Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prevent the FF plugin check from triggering

  • Loading branch information...
commit dfe71a362553fb089902dd4f6a2f01a1ddfe98e0 1 parent 187a664
@jfirebaugh authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.