It seems like we need a seperate 'service' that runs next to watir and deals with any type of pop up
Psuedo code: # this line tells the other service to expect a # Modal dialog dialog_clicker :expect => 'Windows Modal' , :click => 'ok' @ie.button(:value , 'Show Modal').click # the service now watches for dialogs and clicks them Im not sure how you would work this into actually accessing modal dialogs, maybe dialog_clicker :expect => 'Windows Modal' , :ignore you could also query it: puts dialog_clicker.last_text Paul ----- Original Message ----- From: Chris McMahon <[EMAIL PROTECTED]> Date: Tuesday, May 8, 2007 3:40 pm Subject: Re: [Wtr-general] The Plan for Watir > > Since integration of the various watirs is also part of the > roadmap, I > > expect that some of the better modal dialog support will also be > > migrated to the other watir flavors. Perhaps I have the wrong > impression? > I think it's a terminology problem: "modal dialog" is an artifact of > IE only. "Javascript popup" is common to all browsers. There are > special problems with IE modal dialogs that are separate from the > problems of addressing "javascript popups". > > -C > _______________________________________________ > 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