Skip to content
Browse files

Added local xpi for testing.

Because firefox-tests shouldn't rely on me being Semperos :)
  • Loading branch information...
1 parent c029425 commit fdbad0a3d4e2fece6664198bd0b112fc302c769f @bonega committed
Showing with 2 additions and 1 deletion.
  1. BIN resources/helloworld.xpi
  2. +1 −0 resources/properties.clj
  3. +1 −1 test/clj_webdriver/test/firefox.clj
View
BIN resources/helloworld.xpi
Binary file not shown.
View
1 resources/properties.clj
@@ -1,2 +1,3 @@
{:FIREFOX_EXTENSION_FIREBUG "/Users/semperos/Library/Application Support/Firefox/Profiles/mektwxbe.default/extensions/firebug@software.joehewitt.com.xpi"
+ :FIREFOX_EXTENSION_HELLOWORLD "resources/helloworld.xpi"
:this-file "takes precedence over a Java-style clj_webdriver.properties file."}
View
2 test/clj_webdriver/test/firefox.clj
@@ -117,7 +117,7 @@
(deftest firefox-should-support-extensions
(is (with-browser [tmp-dr (start {:browser :firefox
:profile (doto (ff/new-profile)
- (ff/enable-extension :firebug))}
+ (ff/enable-extension :helloworld))}
test-base-url)]
(log/info "[x] Starting Firefox with extensions.")
(driver? tmp-dr))))

0 comments on commit fdbad0a

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