From 8e08a23b6447471fdbad8a772884736ca5ce8144 Mon Sep 17 00:00:00 2001 From: Flavio Auciello Date: Fri, 16 Apr 2021 13:56:24 +0200 Subject: [PATCH] Let Capybara use headless Selenium Chrome driver --- spec/support/capybara.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb index 7081f0ad..e62d7bef 100644 --- a/spec/support/capybara.rb +++ b/spec/support/capybara.rb @@ -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