Class ConfluenceFrameExecutorTemplate.Lenient
java.lang.Object
com.atlassian.confluence.pageobjects.module.frame.ConfluenceFrameExecutorTemplate
com.atlassian.confluence.pageobjects.module.frame.ConfluenceFrameExecutorTemplate.Lenient
- All Implemented Interfaces:
ConfluenceFrameExecutor
- Enclosing class:
- ConfluenceFrameExecutorTemplate
Tries to switch to the given frame before running the closure but does not escape if not possible.
This is the default, and should be used on component which want to stay agnostic on which page they're on. E.g.
RenderedContent.getColumnContent(int) exposes information about the content in a column layout. The
selector for this works on the editor page (inside the tinyMCE IFrame) and on the view page (on the default
frame.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.confluence.pageobjects.module.frame.ConfluenceFrameExecutorTemplate
ConfluenceFrameExecutorTemplate.Lenient, ConfluenceFrameExecutorTemplate.Strict -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception) Methods inherited from class com.atlassian.confluence.pageobjects.module.frame.ConfluenceFrameExecutorTemplate
onTinyMceIFrame, queryOnIFrame, queryOnTinyMceIFrame, switchToDefaultFrame, switchToFrame
-
Constructor Details
-
Lenient
public Lenient()
-
-
Method Details
-
handleNoSuchFrameException
protected void handleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception) - Specified by:
handleNoSuchFrameExceptionin classConfluenceFrameExecutorTemplate
-