title: How to Click Link by URL in Robot Framework
body: <p>In the [Selenium2 Robot Framework documentation][1], the guide to Click Link is:</p>
  
  <blockquote>
    <p>Clicks a link identified by locator. Key attributes for links are <em>id</em>,
    <em>name</em>, <em>href</em> and link text. See <em>introduction</em> for details about locating
    elements.</p>
  </blockquote>
  
  <p>I have tried different ways to insert the URL using the <em>href</em> tag but I still could not get it work. May I have an example on doing this please? I could not use link text as I have multiple links with the same text (unfortunately named "Create") and they do not have any element id for me to reference.</p>
  
  <p>I got this error:</p>
  
  <pre><code>ValueError: Element locator with prefix 'href' is not supported
  </code></pre>
  
  <p>Thanks in advance!</p>
  
  <p>Here's my code:</p>
  
  <pre><code>*** Settings ***
  Library           Selenium2Library
  
  *** Test Cases ***
  Test1
      [Documentation]    Try to login
      Open Browser    {my login page by i cant post more than 2 links here. it's working fine here}    CHROME
      Input Text    //*[@id="rightColum"]/table/tbody/tr/td[2]/table/tbody/tr/td/form/table/tbody/tr[1]/td[2]/input    username
      Input Password    //*[@id="rightColum"]/table/tbody/tr/td[2]/table/tbody/tr/td/form/table/tbody/tr[2]/td[2]/input    password
      Click Button    //*[@id="Login2"]
      Click Link    href=https://test/enquire.aspx
  </code></pre>