Hello All, I know that close() command works with Popup window, but it doesn't work when Popup window contains PDF document. I use correct name and ID of window. And also I want to ask: "How can I use (AndWait) command for popup window". There is "Search" function in popup. So I need to wait while search will be complete. clickAndWait command doesn't help :(. I have looked appropriate command in Selenium JS (selenium-browserbot.js) and find that when this command are fulfilling happens following:
var self = this; this.recordPageLoad = function() { LOG.debug("Page load detected, location=" + self.getCurrentWindow().location); self.currentPage = null; self.newPageLoaded = true; }; I think this happened because exist next command: self.currentPage = null;. That's why Selenium wait for "null" page will reload. I understand that it's necessary command, but I don't know what to do. Could you help me, please? Best regards, Nikolay Predko, Quality Engineer, NIX Solutions Ltd MSN: [EMAIL PROTECTED] ICQ: 174716602 _______________________________________________ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users