specs: remove useless chrome argument
The `options.add_argument('--headless')` above is sufficient.
This commit is contained in:
parent
e89f34a210
commit
1b4a218b0e
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