Sha256: 0e2d4ac82c80591f9393e3f5d5193fe68a47a46b1e701b08704d5aa9e511a61b
Contents?: true
Size: 664 Bytes
Versions: 3
Compression:
Stored size: 664 Bytes
Contents
require File.join(File.dirname(__FILE__), '../../../lib/cello/structure/page') module BugBang class HomePage < Cello::Structure::Page element :search_field, :text_field, :id => 's' element :search_button, :button, :id => 'go' element :about_page_button, :span, :text => 'Sobre o Autor' element :last_twelve_Posts, :div, :text => 'Ultimos 20 posts' @@url = 'http://bugbang.com.br/' def initialize super(@@url) end end class SearchResultPage < Cello::Structure::Page def initialize super(@@url) end end class AboutPage < Cello::Structure::Page def initialize super(@@url) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cello-0.0.19 | examples/bugbang/pages/home.rb |
cello-0.0.17 | examples/bugbang/pages/home.rb |
cello-0.0.16 | examples/bugbang/pages/home.rb |