lib/page-object/accessors.rb in page-object-0.6.8 vs lib/page-object/accessors.rb in page-object-0.6.9

- old
+ new

@@ -97,12 +97,13 @@ # @param [Hash] identifier how we find a text field. You can use a multiple paramaters # 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 + # * :label => Watir and Selenium # * :name => Watir and Selenium - # * :text => Watir only + # * :text => Watir and Selenium # * :title => Watir and Selenium # * :value => Watir only # * :xpath => Watir and Selenium # @param optional block to be invoked when element method is called # @@ -264,10 +265,11 @@ # * :index => Watir and Selenium # * :link => Watir and Selenium # * :link_text => Watir and Selenium # * :name => Watir and Selenium # * :text => Watir and Selenium + # * :title => Watir and Selenium # * :xpath => Watir and Selenium # @param optional block to be invoked when element method is called # def link(name, identifier={:index => 0}, &block) define_method(name) do @@ -431,9 +433,10 @@ # * :class => Watir and Selenium # * :id => Watir and Selenium # * :index => Watir and Selenium # * :name => Watir and Selenium # * :text => Watir and Selenium + # * :title => Watir and Selenium # * :xpath => Watir and Selenium # @param optional block to be invoked when element method is called # def div(name, identifier={:index => 0}, &block) define_method(name) do