title: Selenium: how to find div with specific content?
body: <p>I need to find a <code>&lt;div&gt;</code> with certain content and <code>click</code> it from Selenium, as so:</p>
  
  <pre>
  &lt;tr&gt;
    &lt;td&gt;clickAndWait&lt;/td&gt;
    &lt;td&gt;//div[@class='gwt-Label' ***WITH CONTENT='Logout'***]&lt;/td&gt;
    &lt;td&gt;5000&lt;/td&gt;
  &lt;/tr&gt;
  </pre>
  
  <p>Is there some way to do this? I don't want to use an absolute xpath.</p>