Example #1
0
 public boolean waitForSelectOptions(String promptText) {
   for (int second = 0; ; second++) {
     if (second >= TestConsts.TIMEOUT) return false;
     try {
       if (promptText.equals(selenium.getPrompt())) return false;
     } catch (Exception e) {
     }
     sleep(1000);
   }
 }