[Wtr-general] Watir 1.5 Specifying Element in Form Error
Bret Pettichord
bret at pettichord.com
Mon Aug 7 17:49:03 EDT 2006
Bach Le wrote:
> I was running the latest stable release of Watir 1.4 but had the window
> attach error which was fixed with version 1.5 development build but
> after I installed 1.5, I can no longer specify a specific element within
> a form such as:
>
> ie.form(:id, "form1").button(:src, "http://www....").click
>
> Was this feature removed from version 1.5? How would you select a
> certain button in a page that has two forms and the buttons are
> identical. I think that being able to specify a button by the form
> object is a lot clearer than specifying the button by index.
>
> Thanks.
>
> -Bach
This feature was not removed, but we did rework this code, so if it's
not working now it is a bug.
I'm pretty sure we have some unit tests similar to this that are still
passing, so please provide details, including error messages.
Also, if you can log the bug in Jira that would help.
Thanks.
Bret
More information about the Wtr-general
mailing list