Class: ActionDispatch::SystemTesting::Driver
- Inherits:
-
Object
- Object
- ActionDispatch::SystemTesting::Driver
- Defined in:
- lib/action_dispatch/system_testing/driver.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(name, **options) ⇒ Driver
constructor
A new instance of Driver.
- #use ⇒ Object
Constructor Details
#initialize(name, **options) ⇒ Driver
Returns a new instance of Driver.
4 5 6 7 8 9 |
# File 'lib/action_dispatch/system_testing/driver.rb', line 4 def initialize(name, **) @name = name @browser = [:using] @screen_size = [:screen_size] @options = [:options] end |
Instance Method Details
#use ⇒ Object
11 12 13 14 15 |
# File 'lib/action_dispatch/system_testing/driver.rb', line 11 def use register if registerable? setup end |