Allow system tests using Rack::Test to run without Chrome by sinsoku · Pull Request #37476 · rails/rails

Summary If you require "action_dispatch/system_test_case", the driven_by method will be executed immediately. https://github.com/rails/rails/blob/v6.0.0/actionpack/lib/action_dispatch/sy...