title: Get first element having same attributs in xpath query
body: <p>i am on <a href="https://www.mister-auto.com" rel="nofollow noreferrer">https://www.mister-auto.com</a>
  i would like to select the first item of the menu having the attribut <code>data-selenium='link_front_generic'</code></p>
  
  <p>So i tried the following code:</p>
  
  <pre><code> driver.findElement(By.xpath("(.//*[@data-selenium='link_front_generic'])[1]")).click();
  </code></pre>
  
  <p>However, the item is not found</p>
  
  <p>i got the exception:
  org.openqa.selenium.ElementNotVisibleException: element not visible</p>