code: public void switchToFrame(T iframe) {
          getTargetLocator().frame(iframe);
          setCurrentContext(null);
          currentIFramePath.add(iframe);
      }
docs: Activates specified child frame of current iframe.
  @param iframe frame to activate.