title: how to click on anchor tag in c# using gecko browser engine
body: <p>I'm trying to click on the link that contains the text "Next".
  I've tried this code in c# using gecko web browser engine:</p>
  
  <pre><code>Gecko.DOM.GeckoLinkElement next = new Gecko.DOM.GeckoLinkElement(geckoWebBrowser1.Document.GetElementsByClassName("single-prev-next")[0].LastChild.DomObject);
  
  next.Click();
  </code></pre>
  
  <p>Here is the Html of the website :</p>
  
  <pre><code>&lt;div class="single-prev-next" style="float:right"&gt;
  &lt;span class="picture-of"&gt;Photo 3 of 8 &lt;/span&gt;
  &lt;div id="prevre"&gt;
  &lt;/div&gt;
  &lt;a href="http://website.com/to/150810/4/"&gt;Next&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>That's not working at all.</p>