Actually, when I was going back to it earlier today, I couldn't get it to work in IRB either. I have the same problem whether I'm using button.click or form.submit. The browser does what I want it to do, but IRB just sits there with a blank prompt until you hit Ctrl-C. Daniel Kurtz Consultant Olenick & Associates 205 W. Wacker Drive Suite 2010 Chicago, IL 60606 312-332-0096 www.olenick.com
________________________________ From: [EMAIL PROTECTED] on behalf of Mike Sent: Wed 7/27/2005 2:15 PM To: [email protected] Subject: Re: [Wtr-general] Script non-responsive Running fine in IRB but not in a script strongly indicates a race. I've already encountered one of these myself, and I'm brand new to this. You might try strategically adding a sleep anywhere you think that javascript may be altering your html. Show_all_objects can be used to make sure what you think is there really is. (It can also function as the "sleep".) The button may not even be part in the real problem.
<<winmail.dat>>
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
