title: Xpath Select Element Selenium
body: <p>i am trying get a element through selenium with code:</p>
  
  <pre><code>WebElement a = driver.findElement(By.xpath("//div[@id=':r6']/span/text()"));
  </code></pre>
  
  <p>using this same expression on a firefox plugin, the element is find , but in selenium(java code) this way the element is not found, someone can me help</p>