The command equivelant:
 
 
works fine in IRB. Running in a script however, it does click the button, but never returns, causing the script to stall without any error reporting.
 
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.
 
Mike
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to