chore(capybara): use same size in headless or not

This commit is contained in:
simon lehericey 2022-10-14 13:52:05 +02:00
parent a771617b62
commit 1e88d1a1d7

View file

@ -7,6 +7,7 @@ Capybara.register_driver :chrome do |app|
options = Selenium::WebDriver::Chrome::Options.new
options.add_argument('--no-sandbox') unless ENV['SANDBOX']
options.add_argument('--mute-audio')
options.add_argument('--window-size=1440,900')
download_path = Capybara.save_path
# Chromedriver 77 requires setting this for headless mode on linux