<tr>
<td align="left" width="200">
<p>Document Uploaded: Yes</p>
</td>
</tr>
I'm unable to locate the element with
in the text. The below XPath expression does not not work and I've tried so many other suggestions online but have not been successful yet. FYI: I need the entire text not just a substring of it.
//p[contains(text(), 'Document Uploaded: Yes')]
` elements, not text-nodes. Also, if you are specifying in the predicate the string `"'Document Uploaded: Yes'"`, then you already know "the entire text"... So what do you actually mean by that? Very confused!
– Dimitre Novatchev Oct 16 '20 at 00:38