Permalink
Browse files

Add no-sandbox config

  • Loading branch information...
bricesanchez committed Aug 23, 2018
1 parent 642d436 commit 0ad383f2525c8bb3fdb9e563884df3f9d37c51c7
Showing with 1 addition and 0 deletions.
  1. +1 −0 spec/spec_helper.rb
View
@@ -67,6 +67,7 @@
Capybara.register_driver :selenium_chrome_headless do |app|
browser_options = ::Selenium::WebDriver::Chrome::Options.new
browser_options.args << '--headless'
browser_options.args << '--no-sandbox'
browser_options.args << '--disable-gpu'
browser_options.args << '--window-size=1440,1080'
Capybara::Selenium::Driver.new(app, browser: :chrome, options: browser_options)

0 comments on commit 0ad383f

Please sign in to comment.