示例#1
0
 /**
  * See {@link Browser}
  *
  * @param browser
  * @return
  */
 public static String getText(final Browser browser) {
   new WaitUntil(new PageIsLoaded(browser));
   return WidgetHandler.getInstance().getText(browser.getSWTWidget());
 }
 public void completed(ProgressEvent event) {
   setDone(true);
   browser.getSWTWidget().removeProgressListener(this);
 }