Skip to content

Commit

Permalink
Add chrome args to help CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dbalatero committed Feb 27, 2018
1 parent ae1c518 commit b48ec53
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions spec/support/capybara.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,25 @@
client = Selenium::WebDriver::Remote::Http::Default.new
client.read_timeout = 240

args = %w[
disable-default-apps
disable-extensions
disable-infobars
disable-gpu
disable-popup-blocking
headless
no-default-browser-check
no-first-run
no-sandbox
no-proxy-server
start-fullscreen
--window-size=1600,1200
]

capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
chromeOptions: {
args: args
},
loggingPrefs: {
browser: 'ALL'
}
Expand Down

0 comments on commit b48ec53

Please sign in to comment.