Sha256: b7673f27467afefc8b61716b9ff97e0f15db9e84de2f4a8efae631a92d1a08ed

Contents?: true

Size: 314 Bytes

Versions: 3

Compression:

Stored size: 314 Bytes

Contents

require 'capybara/rspec'
require 'capybara/apparition'

Capybara.register_driver :apparition_debug do |app|
  Capybara::Apparition::Driver.new(
    app,
    headless: true, # Set this to false if you want to launch in a browser
    window_size: [2000, 1500]
  )
end

Capybara.javascript_driver = :apparition_debug

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
apidoco-1.6.4 spec/support/capybara.rb
apidoco-1.6.3 spec/support/capybara.rb
apidoco-1.6.2 spec/support/capybara.rb