Class: SiteSummaryPage
- Defined in:
- lib/sambal-cle/page_objects/public_search.rb
Overview
The page that appears when you click a Site in the Site Search Results page, when not logged in to Sakai.
Instance Method Summary collapse
Methods inherited from BasePage
basic_page_elements, frame_element
Instance Method Details
#return_to_list ⇒ Object
46 47 48 49 |
# File 'lib/sambal-cle/page_objects/public_search.rb', line 46 def return_to_list @browser.frame(:index=>0).(:value=>"Return to List").click SearchPublicResults.new(@browser) end |
#syllabus_attachments ⇒ Object
51 52 53 54 55 56 57 58 59 |
# File 'lib/sambal-cle/page_objects/public_search.rb', line 51 def links = [] @browser.frame(:id=>"ifrm").links.each do |link| if link.href=~/Syllabus/ links << link.text end end return links end |