You should be able to use the fire_event method instead of the click method. A generic example:
browser.button(:id => "foo").fire_event("onclick") HIH. orde On Friday, September 7, 2012 11:05:55 AM UTC-7, Brickman wrote: > > Hello All, > > I have an issue configuring a script that will simply click on a button. > > Here is the HTML code <input type="button" value="Continue ..." > onClick="parent.location='DefaultOrig.asp'" /> > > I have been around the internet and looked at many forums to try different > scripts, but nothing seems to work. > > To me it seems to be with the onClick attribute, and I not super well > rounded in HTML however that appears to be a java script element. Any help > is appreciated and if you need more code or information please let me know. > > > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com