Class: Dressing::Capybara::Session

Inherits:
Capybara::Session
  • Object
show all
Defined in:
lib/dressing/capybara/session.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(driver) ⇒ Session

Returns a new instance of Session.



6
7
8
9
# File 'lib/dressing/capybara/session.rb', line 6

def initialize(driver)
  @driver = driver
  super nil, driver.app
end

Instance Attribute Details

#driverObject (readonly)

Returns the value of attribute driver.



4
5
6
# File 'lib/dressing/capybara/session.rb', line 4

def driver
  @driver
end