Sha256: 805b57e346fd0a52995d4b26fe6558fe4a4bf064b4a13cf89bd5ee4e056f4db8

Contents?: true

Size: 633 Bytes

Versions: 2

Compression:

Stored size: 633 Bytes

Contents

require "cello"

module StaticPages
  module Site
    class InputPage < Cello::PageObjects::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'
      
      url('file://' + File.dirname(__FILE__) + '/../site/inputs.html')

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cello-0.0.23 features/pages/input_fields.rb
cello-0.0.21 features/pages/input_fields.rb