Sha256: 807583eff66e3f8413f8b859406c8a221abba473e334a77a21734b041ad1d0e7

Contents?: true

Size: 429 Bytes

Versions: 17

Compression:

Stored size: 429 Bytes

Contents

if Capybara.javascript_driver == :selenium
  require 'selenium-webdriver'
  require 'selenium/webdriver/firefox'

  if defined?(Selenium::WebDriver::Firefox::Launcher) && Selenium::WebDriver::Platform.mac?
    # Run firefox in the background, on OS X
    Selenium::WebDriver::Firefox::Launcher.class_eval do
      def start
        assert_profile
        @binary.start_with @profile, @profile_dir, ''
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
refinerycms-core-2.1.5 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.1.4 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.1.3 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.1.2 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.1.1 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.1.0 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.0.10 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.0.9 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.0.8 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.0.7 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.0.6 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.0.5 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.0.4 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.0.3 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.0.2 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.0.1 spec/support/background_selenium_firefox_driver.rb
refinerycms-core-2.0.0 spec/support/background_selenium_firefox_driver.rb