diff --git a/lib/flowerbox/runner/firefox.rb b/lib/flowerbox/runner/firefox.rb index a86cf3f..bff7786 100644 --- a/lib/flowerbox/runner/firefox.rb +++ b/lib/flowerbox/runner/firefox.rb @@ -8,7 +8,7 @@ class Flowerbox::Runner::Firefox < Flowerbox::Runner::Selenium end def browser - @browser ||= ::Selenium::WebDriver.for(:firefox) + Flowerbox.browsers[:firefox] ||= ::Selenium::WebDriver.for(:firefox) end end diff --git a/lib/flowerbox/runner/node.rb b/lib/flowerbox/runner/node.rb index 99464d0..92f502b 100644 --- a/lib/flowerbox/runner/node.rb +++ b/lib/flowerbox/runner/node.rb @@ -1,5 +1,4 @@ require 'tempfile' -require 'flowerbox/delivery/server' require 'json' module Flowerbox