title: Python/Selenium - Can't get HREF value of a tag
body: <p>So I have this HTML element:</p>
  
  <pre><code>&lt;h2 class="post-title"&gt;
  
      &lt;a href="http://google.com" rel="bookmark"&gt;This a link to Google!&lt;/a&gt;
  
  &lt;/h2&gt;
  </code></pre>
  
  <p>I am using <code>driver.find_elements_by_class_name('post-title')</code> to find this piece of HTML.</p>
  
  <p><strong>But how can I extract only the value of the "href" tag?</strong></p>
  
  <p>I've tried:</p>
  
  <blockquote>
    <p>driver.get_attribute('href')</p>
  </blockquote>
  
  <p>returns 'none' </p>
  
  <p>Thanks</p>