Sha256: eb0cb62480c9b48fa90d64d1724bb09c20796418a1a586c3cdbc507819e9fac2
Contents?: true
Size: 654 Bytes
Versions: 1
Compression:
Stored size: 654 Bytes
Contents
require File.join(File.dirname(__FILE__), '../../../lib/cello/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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cello-0.0.12 | examples/bugbang/pages/home.rb |