lib/page-object/accessors.rb in page-object-0.5.4 vs lib/page-object/accessors.rb in page-object-0.5.5

- old
+ new

@@ -100,10 +100,11 @@ # * :id => Watir and Selenium # * :index => Watir and Selenium # * :name => Watir and Selenium # * :tag_name => Watir and Selenium # * :text => Watir and Selenium + # * :value => Watir and Selenium # * :xpath => Watir and Selenium # @param optional block to be invoked when element method is called # def hidden_field(name, identifier=nil, &block) define_method(name) do @@ -240,9 +241,10 @@ # by combining of any of the following except xpath. The valid keys are: # * :class => Watir and Selenium # * :id => Watir and Selenium # * :index => Watir and Selenium # * :name => Watir and Selenium + # * :value => Watir and Selenium # * :xpath => Watir and Selenium # @param optional block to be invoked when element method is called # def checkbox(name, identifier=nil, &block) define_method("check_#{name}") do