title: Using XPATH to find a li based on text contains doesnt work on text after a <b> tag
body: <p>So I've got some li on a page and I'm trying to identify it with some XPATH, only trouble is I need to make sure that all the text matches so I need to identify on all the text and there is a  in there that is giving me hassle (I'm using a chrome addin to validate the XPATH and it keeps telling me its null when I try), any suggestions welcome!</p>
  
  <p>Here is the html on the page: -</p>
  
  <pre><code>&lt;li&gt;
      Some pre text, &lt;b&gt;bold&lt;/b&gt; nothing here is identified.
  &lt;/li&gt;
  </code></pre>
  
  <p>Here is what I've tried that doesnt work: -</p>
  
  <pre><code>//ul/li[contains(text(),'') and contains(text(),'bold') and contains(text(),'nothing here is identified')]
  </code></pre>
  
  <p>I also tried this just to see if it works (bear in mind my XPATH needs to check all the text within that li), but it won't identify it at all using any text after the bold tags...</p>
  
  <pre><code>//ul/li[contains(text(),'nothing here is identified')]
  </code></pre>
  
  <p>What obvious XPATH trickery and I missing...?</p>
  
  <p>Cheers</p>