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
public static class ConfluenceFrameExecutorTemplate.Lenient extends 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 Constructor Description Lenient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception)
-
Methods inherited from class com.atlassian.confluence.pageobjects.module.frame.ConfluenceFrameExecutorTemplate
onTinyMceIFrame, queryOnIFrame, queryOnTinyMceIFrame, switchToDefaultFrame, switchToFrame
-
-
-
-
Method Detail
-
handleNoSuchFrameException
protected void handleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception)
- Specified by:
handleNoSuchFrameException
in classConfluenceFrameExecutorTemplate
-
-