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

 @example
   row(:sums, :id => 'sum_row')
   # will generate 'sums', 'sums_element', and 'sums?' methods

 @param [Symbol] the name used for the generated methods
 @param [Hash] identifier how we find a cell.
 @param optional block to be invoked when element method is called