lib/page-object/accessors.rb in page-object-0.4.3 vs lib/page-object/accessors.rb in page-object-0.4.4

- old
+ new

@@ -279,10 +279,11 @@ # 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 radio_button(name, identifier=nil, &block) define_method("select_#{name}") do @@ -758,10 +759,10 @@ # # adds a method to retrieve the text of a paragraph and a paragraph element # # @example - # h6(:title, :id => 'title') + # paragraph(:title, :id => 'title') # # will generate a 'title' and 'title_element' method # # @param [String] the name used for the generated methods # @param [Hash] identifier how we find a paragraph. You can use a multiple paramaters # by combining of any of the following except xpath. The valid keys are: