Using XPATH to search text containing
问题 I use XPather Browser to check my XPATH expressions on an HTML page. My end goal is to use these expressions in Selenium for the testing of my user interfaces. I got an HTML file with a content similar to this: <tr> <td>abc</td> <td> </td> </tr> I want to select a node with a text containing the string " ". With a normal string like "abc" there is no problem. I use an XPATH similar to //td[text()="abc"] . When I try with an an XPATH like //td[text()=" "] it returns nothing. Is there a