title: How to click on a href link by using python scripts and selenium?
body: <p>I am trying to get Selenium to click on a specific href such as</p>
  
  <pre><code>&lt;a href="publications.html"&gt;Publications&lt;/a&gt;
  </code></pre>
  
  <p>I tried doing</p>
  
  <pre><code>driver.find_element_by_link_text('Publications.html').click()
  </code></pre>
  
  <p>but it gives me the error: </p>
  
  <blockquote>
    <p>AttributeError: 'NoneType' object has no attribute 'click'.</p>
  </blockquote>
  
  <p>Any suggestions?</p>