Try something like this:

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

-Charley

On 1/19/07, Naga Harish Kanegolla <[EMAIL PROTECTED]> 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
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to