title: Selenium xpath text() - simple selection seemingly not working
body: <p>I use Selenium WebDriver 2.53.1 on Java, Chrome.</p>
  
  <p>I find an element and save it in a WebElement variable named dropdownMenuList . here is its outerHTML, formatted.</p>
  
  <pre><code>&lt;ul tabindex="-1" class="dropdownMenu apmurldropdownmenu thing menu" role="menu" aria-label="Menu region"&gt;
      &lt;li class="menuitem apmurldropdownmenu" tabindex="-1" role="menuitem"&gt;
          &lt;div class="thing text"&gt;CardNameWebpage&lt;/div&gt;
      &lt;/li&gt;
      &lt;li class="menuitem apmurldropdownmenu" tabindex="-1" role="menuitem"&gt;
          &lt;div class="thing text"&gt;CardNameWebpage&lt;/div&gt;
      &lt;/li&gt;
      &lt;li class="menuitem apmurldropdownmenu" tabindex="-1" role="menuitem"&gt;
          &lt;div class="thing text"&gt;CardNameWebpage&lt;/div&gt;
      &lt;/li&gt;
      &lt;!-- react-text: 9 --&gt;
      &lt;!-- /react-text --&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Then I search in it by xpath:</p>
  
  <pre><code>dropdownMenuList.findElement(By.xpath("*[text()='CardNameWebpage']"));
  </code></pre>
  
  <p>And I get a NoSuchElementException. But the HTML has all of three elements with this text. What am I doing wrong?</p>