[Wtr-general] CAN BE CLICK LINK ASSOCIATED WITH AN IMAGE
Charley Baker
charley.baker at gmail.com
Thu Jun 28 12:20:24 EDT 2007
What's :for? It's not part of Watir. Have you tried by :name and/or :id?
On 6/28/07, Jason <forum-watir-users at openqa.org> wrote:
>
> > ie.link(:after?, ie.image(:id, 'foo')).click
>
> Does / can this apply to anything other than 'links' or 'images'? i.e. I
> attempted this:
>
> ie.text_field(:after?, ie.label(:for, "confirmPassword")).flash
>
> Which didn't work. Even though the individual ie.label(:for,
> "confirmPassword") *does* work.
>
> Asking too much here? :)
> _______________________________________________
> 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/20070628/42af2e23/attachment.html
More information about the Wtr-general
mailing list