Sha256: 5605cbbe55716122dda79cc9763aca1e3ea56578cbdaae13d93cb5b5e3cde187

Contents?: true

Size: 655 Bytes

Versions: 31

Compression:

Stored size: 655 Bytes

Contents

require "capybara/cuprite"

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

Capybara.default_driver    = :agilibox_cuprite
Capybara.current_driver    = :agilibox_cuprite
Capybara.javascript_driver = :agilibox_cuprite

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
agilibox-2.0.0 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.11.0 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.10.5 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.10.2 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.10.1 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.10.0 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.20 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.19 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.18 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.17 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.16 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.15 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.14 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.13 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.12 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.11 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.10 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.9 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.8 lib/agilibox/cucumber_helpers/cuprite.rb
agilibox-1.9.7 lib/agilibox/cucumber_helpers/cuprite.rb