1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

No need to use chrome beta for headless testing anymore

This commit is contained in:
Thomas Walpole 2017-08-09 21:41:21 -07:00
parent 3fdeb0e00a
commit f3e61c0764

View file

@ -5,9 +5,9 @@ require 'shared_selenium_session'
CHROME_DRIVER = if ENV['HEADLESS'] then :selenium_chrome_headless else :selenium_chrome end
if ENV['HEADLESS'] && ENV['TRAVIS']
Selenium::WebDriver::Chrome.path='/usr/bin/google-chrome-beta'
end
# if ENV['HEADLESS'] && ENV['TRAVIS']
# Selenium::WebDriver::Chrome.path='/usr/bin/google-chrome-beta'
# end
Capybara.register_driver :selenium_chrome_clear_storage do |app|
chrome_options = {