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

Use chrome browser in selenium_chrome and selenium_chrome_headless drivers

This commit is contained in:
Yuriy Alekseyev 2021-01-26 13:25:49 +03:00
parent b2034df8e8
commit df5941b7cc
No known key found for this signature in database
GPG key ID: 6BA2A35EDA3FBE78

View file

@ -25,7 +25,7 @@ Capybara.register_driver :selenium_chrome do |app|
opts.add_argument('--disable-site-isolation-trials')
end
Capybara::Selenium::Driver.new(app, **Hash[:browser => :firefox, options_key => browser_options])
Capybara::Selenium::Driver.new(app, **Hash[:browser => :chrome, options_key => browser_options])
end
Capybara.register_driver :selenium_chrome_headless do |app|
@ -38,5 +38,5 @@ Capybara.register_driver :selenium_chrome_headless do |app|
opts.add_argument('--disable-site-isolation-trials')
end
Capybara::Selenium::Driver.new(app, **Hash[:browser => :firefox, options_key => browser_options])
Capybara::Selenium::Driver.new(app, **Hash[:browser => :chrome, options_key => browser_options])
end