code: public void reset() {
      if (log.isLoggable(Level.FINE))
        log.fine("reset called on " + toString());
      RemoteWebElement newDocument = null;
      RemoteWebElement newWindow = null;
  
      // check is what changed was the context for the current frame.
      if (iframe != null) {
        log.info("iframe was null");
        try {
          newDocument = iframe.getContentDocument();
          newWindow = iframe.getContentWindow();
          if (log.isLoggable(Level.FINE))
            log.fine("newDoc=" + newDocument + " newWindow=" + newWindow);
          setCurrentFrame(iframe, newDocument, newWindow);
  
          return;
        } catch (Exception e) {
          log.log(Level.SEVERE,"iframe",e);
        }
      }
      log.fine(
          "iframe ==null , no iframe selected, the page load must be from the main page,newContext()");
      // couldn't update the current frame. Reseting everything.
      newContext();
    }
docs: TODO freynaud reset() != pageLoad