Skip to content

Commit

Permalink
use firefox instead of chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriyAndriyovuch committed Sep 4, 2023
1 parent e69a492 commit 5672065
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/support/capybara.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Capybara.register_driver :firefox do |app|
Capybara::Selenium::Driver.new(app, browser: :firefox)
end

JS_DRIVER = :selenium_chrome_headless

Capybara.default_driver = :rack_test
Capybara.default_driver = :firefox
Capybara.javascript_driver = JS_DRIVER
Capybara.default_max_wait_time = 2

Expand Down

0 comments on commit 5672065

Please sign in to comment.