code: def link(name, locator)
        define_method("#{name}_text") do
          adapter.link(locator).value
        end
        define_method("click_#{name}") do
          adapter.link(locator).click
        end
        define_method("#{name}_view") do
          adapter.link(locator).view
        end
      end
docs: Generates methods to work with link controls
  
   @example
     link(:send_info_link, :id => 'sendInfoId')
     # will generate 'send_info_link_text' and 'click_send_info_link' methods
  
   @param  [String]  the name used for the generated methods
   @param  [Hash]  locator for how the label is found