title: How to get href attribute using selenium for python?
body: <p>I want to get the href attributes from the given HTML code so that i can go inside the link and scrape some data from it.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>&lt;div class="cb-col cb-col-67 cb-rank-plyr"&gt; &lt;a class="text-hvr-underline text-bold cb-font-16" href="/profiles/1643/aaron-finch" title="Aaron Finch's Profile"&gt;Aaron Finch&lt;/a&gt; &lt;div class="cb-font-12 text-gray"&gt;AUSTRALIA&lt;/div&gt; &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>&lt;div class="cb-col cb-col-67 cb-rank-plyr"&gt; &lt;a class="text-hvr-underline text-bold cb-font-16" href="/profiles/10863/fakhar-zaman" title="Fakhar Zaman's Profile"&gt;Fakhar Zaman&lt;/a&gt; &lt;div class="cb-font-12 text-gray"&gt;PAKISTAN&lt;/div&gt; &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to get the attributes of href and save it to a list.</p>