title: xpath text() comparison
body: <p>(new to web development)
  Hi, can anyone explain me why this</p>
  
  <pre><code>Object x=getCurrentPage().getByXPath("//div[@class = 'notification']
                                         /text() =
                                        'Product saved successfully'").get(0);
  </code></pre>
  
  <p>returns a <code>Boolean false</code> object, but this</p>
  
  <pre><code>Object y = getCurrentPage().getByXPath("//div[@class='notification']
                                           /text()").get(0);
  </code></pre>
  
  <p>returns <code>DomText</code> object with data <code>Product saved successfully</code>?</p>
  
  <p>why is the boolean <code>false</code>? it seems to me it should return <code>true</code>.</p>
  
  <p>p.s. when i try the same query in XPathBrowser (FF plugin) it returns <code>boolean:true</code></p>
  
  <p>thanks a lot </p>