|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.pageobjects.module.frame.ConfluenceFrameExecutorTemplate
public abstract class ConfluenceFrameExecutorTemplate
| Nested Class Summary | |
|---|---|
static class |
ConfluenceFrameExecutorTemplate.Lenient
Tries to switch to the given frame before running the closure but does not escape if not possible. |
static class |
ConfluenceFrameExecutorTemplate.Strict
Switches to the given frame before running the closure and escapes if not possible. |
| Constructor Summary | |
|---|---|
ConfluenceFrameExecutorTemplate()
|
|
| Method Summary | ||
|---|---|---|
protected abstract void |
handleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception)
|
|
|
onTinyMceIFrame(java.util.concurrent.Callable<T> callback)
Switches the driver to the TinyMCE IFrame if necessary and executes the given callback. |
|
protected void |
switchToDefaultFrame()
|
|
protected void |
switchToFrame(java.lang.String frameNameOrId)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfluenceFrameExecutorTemplate()
| Method Detail |
|---|
public <T> T onTinyMceIFrame(java.util.concurrent.Callable<T> callback)
ConfluenceFrameExecutor
onTinyMceIFrame in interface ConfluenceFrameExecutorcallback - the callback to bse executed
protected void switchToDefaultFrame()
protected void switchToFrame(java.lang.String frameNameOrId)
protected abstract void handleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||