From: Mike B. <mb...@Ga...> - 2002-09-20 00:15:58
|
> > >I need to "click" on an image submit button (<input type="image" ...>) >but the method seems not to be implemented yet in class HtmlImageInput >like it is in HtmlSubmitInput. I'd like to see this feature as soon as >possible in HtmlUnit, since we got a lot of these buttons in our app ;) > > Please open a feature request on sourceforge so this doesn't get lost and I'll see if I can get it in on the weekend. It's unlikely I'll have time before then. >Is there any quick workaround for that problem anyways? > > You could call submit() on the form directly. It wouldn't execute onclick handlers (if any) but it would do the other behaviour. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |