selenium check popup


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. selenium().getEval("this.browserbot.getCurrentWindow().open('', 'enquiryPopup')");
  2. selenium().click("//input[@value='Submit']");
  3. selenium().waitForPopUp("enquiryPopup", getWaitTime());
  4. selenium().selectWindow("enquiryPopup");

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.