selenium IDE clickAndWait xpath

Posted by user121196 on Stack Overflow See other posts from Stack Overflow or by user121196
Published on 2010-05-26T23:53:15Z Indexed on 2010/05/27 0:01 UTC
Read the original article Hit count: 186

Filed under:
|

In selenium IDE, I need to click on the nth link that has text 'XXX'. How can this be done?

<tr>
<td>clickAndWait</td>
<td>//a[text()='XXX'][${link}]</td>
<td></td>
</tr>

The above code says [error] Element //a[text()='XXX'][9] not found even though it's valid,

© Stack Overflow or respective owner

Related posts about xpath

Related posts about selenium-ide