[Wtr-general] CAN BE CLICK LINK ASSOCIATED WITH AN IMAGE

Jason forum-watir-users at openqa.org
Thu Jun 28 11:59:35 EDT 2007


> 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?  :)


More information about the Wtr-general mailing list