Exemple #1
0
 public static void ParentFrame(Logger logger, ITargetLocator targetLocator, FrameChain frameChainToParent)
 {
     logger.Log(TraceLevel.Debug, Stage.General, StageType.Called);
     try
     {
         targetLocator.ParentFrame();
     }
     catch
     {
         targetLocator.DefaultContent();
         foreach (Frame frame in frameChainToParent)
         {
             targetLocator.Frame(frame.Reference);
         }
     }
 }
 public static void ParentFrame(Logger logger, ITargetLocator targetLocator, FrameChain frameChainToParent)
 {
     logger.Debug("enter (static)");
     try
     {
         targetLocator.ParentFrame();
     }
     catch
     {
         targetLocator.DefaultContent();
         foreach (Frame frame in frameChainToParent)
         {
             targetLocator.Frame(frame.Reference);
         }
     }
 }
 public IWebDriver ParentFrame()
 {
     lock (m_lock) { return(new WebDriver(locator.ParentFrame(), m_lock)); }
 }
Exemple #4
0
 public IWebDriver ParentFrame()
 {
     return(_targetLocator.ParentFrame());
 }
 public IWebDriverWrapper ParentFrame()
 {
     return(_targetLocator.ParentFrame().ToWrapper());
 }