title: Log all links into a text file using selenium C#
body: <p>I was successfully able to log all the links of a website into a text file using the  tags and <code>href</code> attribute. But the problem I am facing is that the text log file not only logs the links, it also logs some stupid values like <code>javascript : void()</code>. How do i ignore these values? 
  I tried using the <code>Contains</code> property but was unsuccessful or may be i was doing it in a wrong way. </p>
  
  <p>Please help me out on this one with a small snippet of code or any documentation that I can refer to. Thanks</p>
  
  <pre><code>        foreach (var links in WebDriver.FindElements(By.TagName("a")))
          {
              var url = links.GetAttribute("href");
              if (url.Contains("http") || url.Contains("57803"))
              {
                  LinksLogFile.WriteLine(url);
              }
          }
          LinksLogFile.Close();
  </code></pre>