Class: Browserly::Driver
- Inherits:
-
Object
- Object
- Browserly::Driver
- Defined in:
- lib/browserly/driver.rb
Instance Attribute Summary collapse
-
#chrome_args ⇒ Object
readonly
Returns the value of attribute chrome_args.
-
#driver ⇒ Object
readonly
Returns the value of attribute driver.
Instance Method Summary collapse
-
#initialize(remote, chrome_args) ⇒ Driver
constructor
A new instance of Driver.
Constructor Details
#initialize(remote, chrome_args) ⇒ Driver
Returns a new instance of Driver.
5 6 7 8 9 10 11 |
# File 'lib/browserly/driver.rb', line 5 def initialize(remote, chrome_args) @remote = remote @chrome_args = chrome_args return remote_driver if remote local_driver end |
Instance Attribute Details
#chrome_args ⇒ Object (readonly)
Returns the value of attribute chrome_args.
3 4 5 |
# File 'lib/browserly/driver.rb', line 3 def chrome_args @chrome_args end |
#driver ⇒ Object (readonly)
Returns the value of attribute driver.
3 4 5 |
# File 'lib/browserly/driver.rb', line 3 def driver @driver end |