Hey In that case, how do I fetch a ModelDialog instance of the popup after calling click_no_wait on the IE instance?
-----Original Message----- From: "Charley Baker" <[EMAIL PROTECTED]> Sent: Fri, September 15, 2006 7:25 To: [email protected] Subject: Re: [Wtr-general] watir-1.5.1.1081.gem and popups You've pretty much answered your own question - only null and :title methods are supported. modal = ie.modal_dialog # or use the :title location method to find by title modal.close Look at modal_dialog_test.rb in the unit tests if you need more information and examples. -Charley On 9/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi > > Could some please explain how to find and close a modal dialog using > watir-1.5.1.1081.gem. > > When I try to find the dialog using the line 'ie2 = ie.modal_dialog(:hwnd, > hwnd) ' ruby returns the error 'Only null and :title methods are supported > (ArgumentError)' > > Thanks > > > > _______________________________________________ > 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 _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
