Thanks Paul, I figured you'd have it handy. Interesting to see that there is not only a refresh() and refresh2(). there is also a Navigate() and Navigate2().
---------- Forwarded message ---------- From: Paul Rogers <[EMAIL PROTECTED]> Date: Mar 18, 2007 2:37 PM Subject: Re: [Wtr-general] idle question: "@ie.refresh2(3)"? To: wtr-general@rubyforge.org http://msdn.microsoft.com/workshop/browser/webbrowser/reference/methods/refresh2.asp?frame=true ----- Original Message ----- From: "Chris McMahon" <[EMAIL PROTECTED]> To: <wtr-general@rubyforge.org> Sent: Sunday, March 18, 2007 11:48 AM Subject: [Wtr-general] idle question: "@ie.refresh2(3)"? >I have a long-running script that occasionally encounters a server > error. I've been considering putting in some retry logic (there are > only 5 clicks in the script) that would just hit "refresh" if > something went haywire. > > I didn't think Watir had a "refresh" method, but I went and looked, > and there it was, along with "back" and "forward". > > But just out of curiosity, why is it called "refresh2" and why does it > take 3 as a argument? > > -Chris > _______________________________________________ > Wtr-general mailing list > Wtr-general@rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general