Class: Cello::PageObjects::Page
- Inherits:
-
Object
- Object
- Cello::PageObjects::Page
- Extended by:
- ElementHelper
- Defined in:
- lib/cello/pageobjects/page.rb
Constant Summary collapse
- MESS =
"SYSTEM ERROR: method missing"
Instance Attribute Summary collapse
-
#engine ⇒ Object
readonly
Returns the value of attribute engine.
Instance Method Summary collapse
-
#initialize(engine) ⇒ Page
constructor
A new instance of Page.
- #url ⇒ Object
- #visit ⇒ Object
Methods included from IframeHelper
Methods included from HiddenHelper
Methods included from SpanHelper
Methods included from ButtonHelper
Methods included from LinkHelper
Methods included from RadioHelper
Methods included from DivHelper
Methods included from SelectHelper
Methods included from TextareaHelper
Methods included from TextfieldHelper
Methods included from CheckboxHelper
Constructor Details
#initialize(engine) ⇒ Page
Returns a new instance of Page.
12 13 14 |
# File 'lib/cello/pageobjects/page.rb', line 12 def initialize(engine) @engine = engine end |
Instance Attribute Details
#engine ⇒ Object (readonly)
Returns the value of attribute engine.
8 9 10 |
# File 'lib/cello/pageobjects/page.rb', line 8 def engine @engine end |
Instance Method Details
#visit ⇒ Object
16 17 18 |
# File 'lib/cello/pageobjects/page.rb', line 16 def visit @engine.goto url end |