title: fail to use xpath to find element in webdriver
body: <p>any help is appreciated.</p>
  
  <p>I am wondering if the firebug copy xpath always working for webdriver.</p>
  
  <p>I have a page with a list, I could get the full xpath to find the first two elements, but could not do the same for 3, 4th.</p>
  
  <p>For 3rd one it's not working:</p>
  
  <pre><code>WebElement element3=driver.findElement(By.xpath("/html/body/div[6]/div[2]/div/div[3]/div/div[3]/div/div[4]/div/div[4]/div/div/div/div[1]/div[2]/div[1]/div/div[2]/div/div[2]/div[1]/div/div[2]/div[1]/table/tbody[2]/tr[3]/td[5]/div"));
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>org.openqa.selenium.NoSuchElementException: Unable to locate element:
    {"method":"xpath","selector":"/html/body/div[6]/div[2]/div/div[3]/div/div[3]/div/div[4]/div/div[4]/div/div/div/div[1]/div[2]/div[1]/div/div[2]/div/div[2]/div[1]/div/div[2]/div[1]/table/tbody[2]/tr[3]/td[5]/div"}</p>
  </blockquote>
  
  <p>My HTML:</p>
  
  <pre><code>&lt;tr class="GKWRNW-BEX GKWRNW-BLYD GKWRNW-BELB GKWRNW-BON"&gt; 
  &lt;td class="GKWRNW-BKW GKWRNW-BIYD x-grid-cell-first explorerGridRow" style="" cellindex="0"&gt; 
  &lt;td class="GKWRNW-BKW GKWRNW-BIYD undefined x-treegrid-column explorerGridRow" style="" cellindex="1"&gt; 
  &lt;div class="GKWRNW-BMW GKWRNW-BJYD" style=""&gt; 
  &lt;div id="x-auto-390" class="GKWRNW-BPLC"&gt; 
  &lt;div class="GKWRNW-BMLC"&gt; 
  &lt;img style="height: 18px; width: 0px;" src="data:image/gif;=="&gt; 
  &lt;img class="GKWRNW-BOLC" style="width: 16px" src="data:image/gif;base64,R0l=="&gt; &lt;span class="GKWRNW-BILC"&gt;&lt;/span&gt;
  </code></pre>