Class: WatirPageHelper::Page

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Includes:
WatirPageHelper
Defined in:
lib/watir-page-helper/commands.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from WatirPageHelper

close, create, included

Constructor Details

#initialize(browser) ⇒ Page

Returns a new instance of Page.



13
14
15
# File 'lib/watir-page-helper/commands.rb', line 13

def initialize browser
  @browser = browser
end

Instance Attribute Details

#browserObject (readonly)

Returns the value of attribute browser.



9
10
11
# File 'lib/watir-page-helper/commands.rb', line 9

def browser
  @browser
end