Class: AddEditPages
- Defined in:
- lib/sambal-cle/page_objects/sites.rb
Overview
The page you come to when editing a Site in Sites and you click on the Pages button
Instance Method Summary collapse
-
#new_page ⇒ Object
Clicks the link for New Page, then instantiates the NewPage page class.
Methods inherited from BasePage
basic_page_elements, frame_element
Instance Method Details
#new_page ⇒ Object
Clicks the link for New Page, then instantiates the NewPage page class.
121 122 123 124 |
# File 'lib/sambal-cle/page_objects/sites.rb', line 121 def new_page frm.link(:text=>"New Page").click NewPage.new(@browser) end |