Sha256: 1a7657da6e066dba911d089c5d48cc4478fdf14e1882e6d1f15707e6fdf3cc9b
Contents?: true
Size: 585 Bytes
Versions: 1
Compression:
Stored size: 585 Bytes
Contents
require File.join(File.dirname(__FILE__), '../../lib/cello/page') 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' @@url = 'file://' + File.dirname(__FILE__) + '/../site/inputs.html' def initialize super(@@url) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cello-0.0.12 | features/pages/input_fields.rb |