Sha256: 0fe4ec2599839d6f9148336395f13d16a3c3c90c2b2a6abf652ac36180d5234d

Contents?: true

Size: 278 Bytes

Versions: 5

Compression:

Stored size: 278 Bytes

Contents

gem "selenium-webdriver"
gem "chromedriver-helper"

Capybara.register_driver :chrome do |app|
  Capybara::Selenium::Driver.new app, browser: :chrome,
    options: Selenium::WebDriver::Chrome::Options.new(args: %w[headless disable-gpu])
end

Capybara.javascript_driver = :chrome

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
minitest-utils-0.4.4 lib/minitest/utils/capybara/chrome_headless.rb
minitest-utils-0.4.3 lib/minitest/utils/capybara/chrome_headless.rb
minitest-utils-0.4.2 lib/minitest/utils/capybara/chrome_headless.rb
minitest-utils-0.4.1 lib/minitest/utils/capybara/chrome_headless.rb
minitest-utils-0.4.0 lib/minitest/utils/capybara/chrome_headless.rb