title: Selenium: How to locate a node using exact text match
body: <p>I want to locate a Element on a Web Page using text.<br>
  I know there is a method name contains to do so, for example:</p>
  
  <pre><code>tr[contains(.,'hello')]/td
  </code></pre>
  
  <p>But problem is if I have two elements name hello and hello1 then this function does not work properly.</p>
  
  <p>Is there any other method like contains for exact string match for locating elements?</p>