Class: SiteSummaryPage

Inherits:
BasePage
  • Object
show all
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, button, damballa, frame_element, link

Instance Method Details

#syllabus_attachmentsObject



30
31
32
33
34
35
36
37
38
# File 'lib/sambal-cle/page_objects/public_search.rb', line 30

def syllabus_attachments
  links = []
  @browser.frame(:id=>"ifrm").links.each do |link|
    if link.href=~/Syllabus/
      links << link.text
    end
  end
  return links
end