Merge pull request #4917 from betagouv/remove-duplicated-chrome-arg
Tests : suppression d’un paramètre Chrome en double
This commit is contained in:
commit
0c944ceeb2
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue