title: Selenium returns "Element text does not match" even if it does match
body: <p>I have been using selenium builder to create a few front end user tests and have now come across an issue with verifyText, which I cannot resolve.</p>
  
  <p>On checking the element the below string is found</p>
  
  <blockquote>
    <p>Close Recently added item(s)</p>
  </blockquote>
  
  <p>I expected it to find</p>
  
  <blockquote>
    <p>Recently added item(s)</p>
  </blockquote>
  
  <p>I confirmed the x-path I have passed it is defiantly correct using firefinder. Selenium builder seems to be ignoring the <code>&lt;span&gt;</code> tag completely in this case. As a test I changed the string I was looking for to</p>
  
  <blockquote>
    <p>Close Recently added item(s)</p>
  </blockquote>
  
  <p>and the same message was returned saying </p>
  
  <blockquote>
    <p>Elements text "Close Recently added item(s)" does not match "Close Recently added item(s)".</p>
  </blockquote>
  
  <pre><code>&lt;div id="topCartContent" class="block-content" style="overflow: visible;"&gt;
      &lt;div class="inner-wrapper" style=""&gt;
          &lt;p class="block-subtitle"&gt;
              &lt;span class="close-btn" onclick="TopCart.hideCart()"&gt;Close&lt;/span&gt;
              Recently added item(s)
          &lt;/p&gt;
          &lt;p class="cart-empty"&gt; You have no items in your shopping basket. &lt;/p&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I have successfully confirmed the value in the <code>&lt;span&gt;</code> tag so why am I unable to confirm the value in the <code>&lt;p&gt;</code> tag?</p>
  
  <pre><code>//div[1]/header/nav/div[1]/div/div[2]/div/p[1]/span &lt;!--returns Close--&gt;
  //div[1]/header/nav/div[1]/div/div[2]/div/p         &lt;!--returns Close Recently added item(s)--&gt;
  </code></pre>