Class: Watirloo::FireLocker
- Includes:
- Singleton
- Defined in:
- lib/watirloo/locker.rb
Instance Attribute Summary collapse
-
#browser ⇒ Object
reuse browser previously attached to.
Instance Method Summary collapse
Instance Attribute Details
#browser ⇒ Object
reuse browser previously attached to. ISSUE: if browser is closed we are stuck holding reference to non existing browser
11 12 13 |
# File 'lib/watirloo/locker.rb', line 11 def browser @browser end |
Instance Method Details
#clear ⇒ Object
14 15 16 |
# File 'lib/watirloo/locker.rb', line 14 def clear @firefox = nil end |