aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/system_test_case.rb
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-10-13 15:17:17 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-10-17 07:35:48 +0900
commitada05850f84ee0eef5413950333e5b5332a64b48 (patch)
tree58d9b3df5e88c56749088e3e50cd41b071179ec4 /actionpack/lib/action_dispatch/system_test_case.rb
parent68a2888ef08faf38c0643921a8259beef5fbe630 (diff)
downloadrails-ada05850f84ee0eef5413950333e5b5332a64b48.tar.gz
rails-ada05850f84ee0eef5413950333e5b5332a64b48.tar.bz2
rails-ada05850f84ee0eef5413950333e5b5332a64b48.zip
Add headless chrome driver to System Tests
Diffstat (limited to 'actionpack/lib/action_dispatch/system_test_case.rb')
-rw-r--r--actionpack/lib/action_dispatch/system_test_case.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/system_test_case.rb b/actionpack/lib/action_dispatch/system_test_case.rb
index ae4aeac59d..3f8481ad48 100644
--- a/actionpack/lib/action_dispatch/system_test_case.rb
+++ b/actionpack/lib/action_dispatch/system_test_case.rb
@@ -121,6 +121,8 @@ module ActionDispatch
#
# driven_by :selenium, using: :firefox
#
+ # driven_by :selenium, using: :headless_chrome
+ #
# driven_by :selenium, screen_size: [800, 800]
def self.driven_by(driver, using: :chrome, screen_size: [1400, 1400], options: {})
self.driver = SystemTesting::Driver.new(driver, using: using, screen_size: screen_size, options: options)