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