specs: remove useless chrome argument

The `options.add_argument('--headless')` above is sufficient.
This commit is contained in:
Pierre de La Morinerie 2020-03-19 17:13:52 +01:00
parent e89f34a210
commit 1b4a218b0e

View file

@ -44,7 +44,7 @@ Capybara.register_driver :headless_chrome do |app|
options.add_argument('--window-size=1440,900')
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
chromeOptions: { args: ['headless', 'disable-dev-shm-usage', 'disable-software-rasterizer', 'mute-audio', 'window-size=1440,900'] }
chromeOptions: { args: ['disable-dev-shm-usage', 'disable-software-rasterizer', 'mute-audio', 'window-size=1440,900'] }
)
Capybara::Selenium::Driver.new app,