[Wtr-general] same text fordifferent urls..

Charley Baker charley.baker at gmail.com
Fri Jan 19 10:30:16 EST 2007


Try something like this:

ie.link(:url, /some regex to match/).click

-Charley

On 1/19/07, Naga Harish Kanegolla <forum-watir-users at openqa.org> wrote:
>
> Hi all,
>      How to click on the links based up on the href rather than the text?
> Ex:: I am having the same text with different ids. i.e., we are having
> 30  "add a term"  links..For different links having different href (url). so
> how could i code using watir for this kind of hrefs. Please help me
> regarding this..
>
> Thanks in Advance,
> Harish
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.openqa.org/thread.jspa?threadID=6183&messageID=17365#17365
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070119/84b601d9/attachment.html 


More information about the Wtr-general mailing list