persistent_selenium/skel/features/support/persistent_selenium.rb
2013-01-25 10:56:56 -05:00

12 lines
350 B
Ruby

# get the driver ready for use
require 'persistent_selenium/driver'
# set it for all tests
# Capybara.default_driver = Capybara.javascript_driver = :persistent_selenium
#
# or, set it via the ENV, with it being the default
# Before do
# Capybara.default_driver = Capybara.javascript_driver = (ENV['DRIVER'] || 'persistent_selenium').to_sym
# end