Sha256: 5b2e634eb8a131fd23dc87a1545d98798d26891d79061a760b36340e91524eb3

Contents?: true

Size: 541 Bytes

Versions: 14

Compression:

Stored size: 541 Bytes

Contents

require "capybara/apparition"

Capybara.register_driver :agilibox_apparition do |app|
  Capybara::Apparition::Driver.new(app,
    :browser_options => {
      :"disable-gpu" => true,
      :"no-sandbox" => nil,
    },
    :headless => (ENV["CHROME_HEADLESS"].to_s != "false"),
    :inspector => true,
    :js_errors => true,
    :window_size => Agilibox::CucumberConfig.window_size,
  )
end

Capybara.default_driver    = :agilibox_apparition
Capybara.current_driver    = :agilibox_apparition
Capybara.javascript_driver = :agilibox_apparition

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
agilibox-2.0.0 lib/agilibox/cucumber_helpers/apparition.rb
agilibox-1.11.0 lib/agilibox/cucumber_helpers/apparition.rb
agilibox-1.10.5 lib/agilibox/cucumber_helpers/apparition.rb
agilibox-1.10.2 lib/agilibox/cucumber_helpers/apparition.rb
agilibox-1.10.1 lib/agilibox/cucumber_helpers/apparition.rb
agilibox-1.10.0 lib/agilibox/cucumber_helpers/apparition.rb
agilibox-1.9.20 lib/agilibox/cucumber_helpers/apparition.rb
agilibox-1.9.19 lib/agilibox/cucumber_helpers/apparition.rb
agilibox-1.9.18 lib/agilibox/cucumber_helpers/apparition.rb
agilibox-1.9.17 lib/agilibox/cucumber_helpers/apparition.rb
agilibox-1.9.16 lib/agilibox/cucumber_helpers/apparition.rb
agilibox-1.9.15 lib/agilibox/cucumber_helpers/apparition.rb
agilibox-1.9.14 lib/agilibox/cucumber_helpers/apparition.rb
agilibox-1.9.13 lib/agilibox/cucumber_helpers/apparition.rb