Sha256: 810b884c278f04a00ca1a17e317d8dd8bacfa453dc963316d19324dc491e39eb
Contents?: true
Size: 300 Bytes
Versions: 6
Compression:
Stored size: 300 Bytes
Contents
require 'capybara/rspec' require 'capybara/rails' require 'capybara/poltergeist' RSpec.configure do |config| Capybara.javascript_driver = :poltergeist config.before(:each, :js) do if Capybara.javascript_driver == :selenium page.driver.browser.manage.window.maximize end end end
Version data entries
6 entries across 6 versions & 2 rubygems