Skip to content

Commit

Permalink
Pass --no-sandbox to Chrome on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jarib committed Oct 18, 2013
1 parent 530f441 commit d3c5e01
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,13 @@ def create_chrome_driver
WebDriver::Chrome.driver_path = server
end

args = []
args << "--no-sandbox" if ENV['TRAVIS']

WebDriver::Driver.for :chrome,
:native_events => native_events?
# :http_client => keep_alive_client || http_client
:native_events => native_events?,
:args => args
# :http_client => keep_alive_client || http_client
end

def create_phantomjs_driver
Expand Down

0 comments on commit d3c5e01

Please sign in to comment.