def h1(name, identifier={:index => 0}, &block)
      standard_methods(name, identifier,'h1_for', &block)
      define_method(name) do
        return platform.h1_text_for identifier.clone unless block_given?
        self.send("#{name}_element").text
      end
    end
def h1(name, identifier={:index => 0}, &block)
      standard_methods(name, identifier,'h1_for', &block)
      define_method(name) do
        return platform.h1_text_for identifier.clone unless block_given?
        self.send("#{name}_element").text
      end
    end
adds three methods - one to retrieve the text of a h1 element, another to
 retrieve a h1 element, and another to check for it's existence.

 @example
   h1(:title, :id => 'title')
   # will generate 'title', 'title_element', and 'title?' methods

 @param [Symbol] the name used for the generated methods
 @param [Hash] identifier how we find a H1.  You can use a multiple parameters
   by combining of any of the following except xpath.
 @param optional block to be invoked when element method is called