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:
parent
b2034df8e8
commit
df5941b7cc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue