Class: Podcasts
Instance Method Summary
collapse
Methods inherited from BasePage
basic_page_elements, frame_element
Instance Method Details
#add ⇒ Object
10
11
12
13
|
# File 'lib/sambal-cle/page_objects/podcasts.rb', line 10
def add
frm.link(:text=>"Add").click
AddEditPodcast.new(@browser)
end
|
#podcast_titles ⇒ Object
15
16
17
18
19
20
21
22
23
|
# File 'lib/sambal-cle/page_objects/podcasts.rb', line 15
def podcast_titles
titles = []
frm.spans.each do |span|
if span.class_name == "podTitleFormat"
titles << span.text
end
end
return titles
end
|