Hi, thanks for your reply. This is a full blown popup rather than a confirmation or an alert.
I can use openWindow and selectWindow but the Selenium close method is not exposed in Tellurium, so I cannot close windows opened using openWindow or as a result of clicking on a link etc. On Apr 9, 11:39 am, Haroon Rasheed <[email protected]> wrote: > Hi, > > Did you try any of these?? > > - chooseCancelOnNextConfirmation: By default, Selenium's overridden > window.confirm() function will return true, as if the user had manually > clicked OK; after running this command, the next call to confirm() will > return false, as if the user had clicked Cancel. Selenium will then resume > using the default behavior for future confirmations, automatically > returning > true (OK) unless/until you explicitly call this command for each > confirmation. > > - chooseOkOnNextConfirmation: Undo the effect of calling > chooseCancelOnNextConfirmation. Note that Selenium's overridden > window.confirm() function will normally automatically return true, as if > the > user had manually clicked OK, so you shouldn't need to use this command > unless for some reason you need to change your mind prior to the next > confirmation. After any confirmation, Selenium will resume using the > default > behavior for future confirmations, automatically returning true (OK) > unless/until you explicitly call chooseCancelOnNextConfirmation for each > confirmation. > > Cheers > Haroon > > 2009/4/9 dominicm <[email protected]> > > > > > > > Hi, > > > Is there a way to close a popup window? Can't find a method to do > > this. > > > Thanks- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en -~----------~----~----~----~------~----~------~--~---
