I am using the Selenium IDE in FireFox to do some testing, and I want Selenium to click the second link (Text2). Any idea how I do this? Unfortunately, I do not have access to HTML and cannot change it. The recording function does not seem to register clicks.
The code is attached below. Thanks in advance!
<div class="class1"> <div class="class2"> <span class="class3"><a href="#" onclick="fn1();">Text1</a></span> </div> </div> <div class="class1"> <div class="class2"> <span class="class3"><a href="#" onclick="fn2();">Text2</a></span> </div> </div>
source share