title: how to get an attribute value from a href link in selenium
body: <p>i am trying to get the link from "a href" attribute</p>
  
  <pre><code>&lt;a href="http://fgkzc.downloader.info/download.php?id=bc56585624bbaf29ebdd65d0248cb620" rel="nofollow" class="dl_link 1" style=""&gt;Download&lt;/a&gt;
  </code></pre>
  
  <p>what i am doing:</p>
  
  <pre><code>ReadOnlyCollection&lt;IWebElement&gt; lists1 = driver.FindElements(By.ClassName("dl_link"));
  
  string s = lists1[0].GetAttribute("a href");
  </code></pre>
  
  <p>i am getting the element with class "dl_link 1" but i can't get it's link, the string is null?</p>