I'm trying to figure out how to click on a link, and the only way I
know which link to click on is from text that comes before it.
Otherwise, it looks the same as other links on the same page.

So for instance, the html might look like:

<b>Click This Link</b>
<br>
<a href="http://clickhere.com";>The Link</a>
<br>
<b>But Not this link</b>
<br>
<a href="http://clickhere.com";>The Link</a>


I want to be able to read the page and latch onto the link with the
"Click This Link" but not other ones.  In fact, if there are multiple
"Click This Link" links, I want to be able to find all of them, and
ignore the rest.

I'm at a loss how to do this with Watir.  I'm used to being able to
find things by div and id tags, etc., but this is a dumbed down page
meant for mobile devices and it lacks almost all of the things I'm
used to latching onto.

Any suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to