title: Clicking a link using htmlunit (Java)
body: <p>I'm trying to get htmlunit to click the second link (<code>Contacts</code>) in a page:</p>
  
  <pre><code>&lt;ul role="tablist"&gt;
  &lt;li class="nav-item nav-item-game active" data-nav="game" title="Game" role="presentation"&gt;
  &lt;a class="nav-lnk" aria-selected="true" role="tab" tabindex="0"&gt;
  &lt;span class="offscreen"&gt;Game&lt;/span&gt;
  &lt;b class="icon icon-game"&gt;&lt;/b&gt;
  &lt;/a&gt;
  &lt;/li&gt;
  &lt;li class="nav-item nav-item-contacts" data-nav="contacts" title="Contacts" role="presentation"&gt;
  &lt;a class="nav-lnk" aria-selected="false" role="tab" tabindex="-1"&gt;
  &lt;span class="offscreen"&gt;Contacts&lt;/span&gt;
  &lt;b class="icon icon-contacts"&gt;&lt;/b&gt;
  &lt;/a&gt;
  &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Right now I'm retrieving all links in the list:</p>
  
  <pre><code>List&lt;DomNode&gt; contactTabs = (List&lt;DomNode&gt;) gameLoggedInPage.getByXPath("//a[@class='nav-lnk']/)");
  DomNode contacts = contactTabs.get(1);
  </code></pre>
  
  <p>How can I click on the second link from htmlunit?</p>