Skip to content

Commit

Permalink
Use Chrome with sandboxing disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Jan 18, 2018
1 parent 71ce4b5 commit b9ccf13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -24,7 +24,7 @@ matrix:
before_install:
- gem update --system
- gem install bundler
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
- google-chrome-stable --headless --disable-gpu --no-sandbox --remote-debugging-port=9222 http://localhost &

notifications:
irc: "irc.freenode.org#blacklight"
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -32,7 +32,7 @@

Capybara.register_driver :headless_chrome do |app|
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
chromeOptions: { args: %w[headless disable-gpu] }
chromeOptions: { args: %w[headless disable-gpu no-sandbox] }
)

Capybara::Selenium::Driver.new(app,
Expand Down

0 comments on commit b9ccf13

Please sign in to comment.