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:
parent
3fdeb0e00a
commit
f3e61c0764
1 changed files with 3 additions and 3 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue