[Wtr-general] Watir 1.5 Specifying Element in Form Error

Bach Le bmle at webmetrics.com
Mon Aug 7 17:21:38 EDT 2006


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



More information about the Wtr-general mailing list