com.atlassian.confluence.pageobjects.module.frame
Class ConfluenceFrameExecutorTemplate.Strict

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.module.frame.ConfluenceFrameExecutorTemplate
      extended by com.atlassian.confluence.pageobjects.module.frame.ConfluenceFrameExecutorTemplate.Strict
All Implemented Interfaces:
ConfluenceFrameExecutor
Enclosing class:
ConfluenceFrameExecutorTemplate

public static class ConfluenceFrameExecutorTemplate.Strict
extends ConfluenceFrameExecutorTemplate

Switches to the given frame before running the closure and escapes if not possible.

This should be used for components which encapsulate locators which only work on the given iFrame. E.g. the MacroPlaceholder component only works on the tinyMCE IFrame.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.confluence.pageobjects.module.frame.ConfluenceFrameExecutorTemplate
ConfluenceFrameExecutorTemplate.Lenient, ConfluenceFrameExecutorTemplate.Strict
 
Constructor Summary
ConfluenceFrameExecutorTemplate.Strict()
           
 
Method Summary
protected  void handleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception)
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.module.frame.ConfluenceFrameExecutorTemplate
onTinyMceIFrame, queryOnIFrame, queryOnTinyMceIFrame, switchToDefaultFrame, switchToFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceFrameExecutorTemplate.Strict

public ConfluenceFrameExecutorTemplate.Strict()
Method Detail

handleNoSuchFrameException

protected void handleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception)
Specified by:
handleNoSuchFrameException in class ConfluenceFrameExecutorTemplate


Copyright © 2003-2014 Atlassian. All Rights Reserved.