diff options
author | Stan Hu <stanhu@gmail.com> | 2017-08-13 08:34:01 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-08-13 08:34:01 +0300 |
commit | ad73d24235ef22f9012b30be9d9492b11b46ca58 (patch) | |
tree | 973a5ac0dc071200ae8aad877674e8aea7c049f4 /spec/support/capybara.rb | |
parent | 2901fc1390370a38944cd2c1ea88bf0fd3839a5a (diff) |
Bump selenium-webdriver to 3.5.0 to make Capybara work properly
Diffstat (limited to 'spec/support/capybara.rb')
-rw-r--r-- | spec/support/capybara.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb index 693de9a3118..b5b98f19694 100644 --- a/spec/support/capybara.rb +++ b/spec/support/capybara.rb @@ -10,7 +10,7 @@ timeout = (ENV['CI'] || ENV['CI_SERVER']) ? 60 : 30 Capybara.javascript_driver = :chrome Capybara.register_driver :chrome do |app| capabilities = Selenium::WebDriver::Remote::Capabilities.chrome( - 'chromeOptions' => { + chromeOptions: { 'args' => %w[headless no-sandbox disable-gpu --window-size=1240,1400] } ) |