Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Let Capybara use headless Selenium Chrome driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavio Auciello committed Apr 16, 2021
1 parent ac0ac17 commit 8e08a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/capybara.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
end
end

Capybara.javascript_driver = (ENV['CAPYBARA_DRIVER'] || :selenium_chrome).to_sym
Capybara.javascript_driver = (ENV['CAPYBARA_DRIVER'] || :selenium_chrome_headless).to_sym

0 comments on commit 8e08a23

Please sign in to comment.