Sha256: ffc3e0dff756f9f2e9c49cd6a4e6f0ef545e9b50b798496954668568458528b1

Contents?: true

Size: 374 Bytes

Versions: 3

Compression:

Stored size: 374 Bytes

Contents

Capybara.configure do |config|
  config.match = :prefer_exact
end

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

Capybara.server = :webrick
Capybara.javascript_driver = :selenium_chrome

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_admin_sidebar-2.0.0 spec/support/capybara.rb
active_admin_sidebar-1.2.0 spec/support/capybara.rb
active_admin_sidebar-1.1.0 spec/support/capybara.rb