Class: WatirDrops::Session
- Inherits:
-
Object
- Object
- WatirDrops::Session
- Includes:
- Singleton
- Defined in:
- lib/watir_drops/session.rb
Instance Method Summary collapse
Instance Method Details
#browser ⇒ Object
7 8 9 |
# File 'lib/watir_drops/session.rb', line 7 def browser @browser ||= Watir::Browser.new :chrome end |
#quit ⇒ Object
11 12 13 14 |
# File 'lib/watir_drops/session.rb', line 11 def quit @browser.quit @browser = nil end |