# frozen_string_literal: true

# require 'capybara/rspec'
# require 'selenium/webdriver'
#
# Capybara.register_driver :headless_chromium do |app|
#   options = Selenium::WebDriver::Chrome::Options.new
#   options.headless!
#   options.add_argument '--window-size=1024,768'
#   # https://blog.phusion.nl/2018/05/24/using-chrome-headless-selenium-and-capybara-inside-gitlab-runner-and-docker/
#   options.add_argument '--no-sandbox'
#
#   Capybara::Selenium::Driver.new(app, browser: :chrome, options: options)
# end
