Sha256: e65290871a80880eb5af8c6fb525b34616ab48a4ed8d48a994b974a121b434fd
Contents?: true
Size: 760 Bytes
Versions: 2
Compression:
Stored size: 760 Bytes
Contents
require File.join(File.dirname(__FILE__), '../../lib/cello') module StaticPages module Site class InputPage < Cello::Structure::Page element :text_field, :text_field, :id => 'text1' element :text_fieldname, :text_field, :name => 'text1' element :text_fieldxpath, :text_field, :xpah, '//*[@id="text1"]' element :checkbox, :checkbox, :id => 'check1' element :textarea, :textarea, :id => 'area1' element :radios, :radios, :name => 'items' element :select, :select, :id => 'select1' element :link, :link, :id => 'link1' def get_url 'file://' + File.dirname(__FILE__) + '/../site/inputs.html' end def initialize(teste) super(teste) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cello-0.0.17 | features/pages/input_fields.rb |
cello-0.0.16 | features/pages/input_fields.rb |