I think this will be fixed in the next release. There was a bug in attach where it wouldn't wait
Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 27 July 2005 21:51 To: [email protected] Subject: [Wtr-general] wair for start explorer to load Hi! What's the best approach to know if the explorer has finished loading. sometimes, 1 sec is not enough. it depends. What's the best way to do this? Pls look at the code below. w.winsystem("start explorer #{thread_number}_#{i}.html ") sleep(1) $ie_array[i] = IE.attach(:title , "#{thread_number}_#{i}" ) if the html is not yet loaded, attach will fail unable to locate object _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
