Skip to content

Commit

Permalink
Merge pull request #2444 from yuriyalekseyev/fix/chrome-drivers-browser
Browse files Browse the repository at this point in the history
Use chrome browser in chrome drivers
  • Loading branch information
twalpole authored Jan 26, 2021
2 parents b2034df + df5941b commit 1480800
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/capybara/registrations/drivers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
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|
Expand All @@ -38,5 +38,5 @@
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

0 comments on commit 1480800

Please sign in to comment.