[Wtr-general] Selecting Links

Željko Filipin zeljko.filipin at gmail.com
Mon Dec 4 04:35:01 EST 2006


On 12/4/06, Fletch <forum-watir-users at openqa.org> wrote:
>
> Is it possible to return the index of the link?


I have watir 1.5.1.1081 and it is not supported there.

irb(main):005:0> ie.link(:text, "link").index
NoMethodError: undefined method `index' for #<Watir::Link:0x2dcc6f0>

This looks like interesting feature request (maybe newer versions of watir
have this already implemented).
-- 
Zeljko Filipin
zeljkofilipin.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061204/d5825430/attachment-0001.html 


More information about the Wtr-general mailing list