title: Selenium 2 with PHPUnit function byLinkText()
body: <p>Okey, So i am trying to run a selenium test case using PHPUnit.
  I did a lot of little test using  or checkbox etc.. but i have a problem that i thought easy..</p>
  
  <p>I just want to go to the other page using the function byLinkText("Text of link") 
  So, at first sight it's not hard but it's doesn't work and i don't know why..</p>
  
  <p>This is my html : </p>
  
  <pre><code>&lt;div id="menu-haut"&gt;
      &lt;ul class="ul0"&gt;
          &lt;li class="li0"&gt;&lt;a href="/order" class="lien0"&gt;Commander&lt;/a&gt;&lt;/li&gt;
          &lt;li class="li0"&gt;&lt;a href="/gerer" class="lien0"&gt;Gérer&lt;/a&gt;&lt;/li&gt;
          &lt;li class="li0"&gt;&lt;a href="#" class="lien0 inactive"&gt;Analyser&lt;/a&gt;&lt;/li&gt;
          &lt;li class="li0"&gt;&lt;a href="#" class="lien0 inactive"&gt;Services&lt;/a&gt;&lt;/li&gt;
          &lt;li class="li0 active0"&gt;&lt;a href="/support" class="lien0active"&gt;Support&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>So,i just want to click on the 'Support' link.
  Logically i will do with Selenium 2 :</p>
  
  <pre><code>$this-&gt;byLinkText('Support')-&gt;click();
  </code></pre>
  
  <p>but it's doesn't work and i have this error : </p>
  
  <pre><code>1) BoitierTest::testLink
  PHPUnit_Extensions_Selenium2TestCase_WebDriverException: Unable to locate element: {"method":"link text","selector":"Support"}
  </code></pre>
  
  <p>if someone can explian me this sh.. ^^ I would be grateful</p>