Class ConfluenceFrameExecutorTemplate
- java.lang.Object
-
- com.atlassian.confluence.pageobjects.selenium3.module.frame.ConfluenceFrameExecutorTemplate
-
- All Implemented Interfaces:
ConfluenceFrameExecutor
- Direct Known Subclasses:
ConfluenceFrameExecutorTemplate.Lenient
,ConfluenceFrameExecutorTemplate.Strict
@Deprecated public abstract class ConfluenceFrameExecutorTemplate extends Object implements ConfluenceFrameExecutor
Deprecated.in 5.8. UseConfluenceFrameExecutorTemplate
instead from maven modulecom.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfluenceFrameExecutorTemplate.Lenient
Deprecated.Tries to switch to the given frame before running the closure but does not escape if not possible.static class
ConfluenceFrameExecutorTemplate.Strict
Deprecated.Switches to the given frame before running the closure and escapes if not possible.
-
Constructor Summary
Constructors Constructor Description ConfluenceFrameExecutorTemplate()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract void
handleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception)
Deprecated.<T> T
onTinyMceIFrame(Callable<T> callback)
Deprecated.Switches the driver to the TinyMCE IFrame if necessary and executes the given callback.<T> com.atlassian.pageobjects.elements.query.TimedQuery<T>
queryOnIFrame(String iFrameId, Callable<T> callback)
Deprecated.Switches the driver to a named IFrame to execute a query.<T> com.atlassian.pageobjects.elements.query.TimedQuery<T>
queryOnTinyMceIFrame(Callable<T> callback)
Deprecated.Allows repeated switching the driver to the TinyMCE IFrame if necessary to execute a query.protected void
switchToDefaultFrame()
Deprecated.protected void
switchToFrame(String frameNameOrId)
Deprecated.
-
-
-
Method Detail
-
onTinyMceIFrame
public <T> T onTinyMceIFrame(Callable<T> callback)
Deprecated.Description copied from interface:ConfluenceFrameExecutor
Switches the driver to the TinyMCE IFrame if necessary and executes the given callback.- Specified by:
onTinyMceIFrame
in interfaceConfluenceFrameExecutor
- Parameters:
callback
- the callback to be executed- Returns:
- the result of the callback
-
queryOnTinyMceIFrame
public <T> com.atlassian.pageobjects.elements.query.TimedQuery<T> queryOnTinyMceIFrame(Callable<T> callback)
Deprecated.Description copied from interface:ConfluenceFrameExecutor
Allows repeated switching the driver to the TinyMCE IFrame if necessary to execute a query.- Specified by:
queryOnTinyMceIFrame
in interfaceConfluenceFrameExecutor
- Parameters:
callback
- the callback to be executed- Returns:
- a TimedQuery to execute the callback query
-
queryOnIFrame
public <T> com.atlassian.pageobjects.elements.query.TimedQuery<T> queryOnIFrame(String iFrameId, Callable<T> callback)
Deprecated.Description copied from interface:ConfluenceFrameExecutor
Switches the driver to a named IFrame to execute a query.- Specified by:
queryOnIFrame
in interfaceConfluenceFrameExecutor
callback
- the callback to be executed- Returns:
- a TimedQuery to execute the callback query
-
switchToDefaultFrame
protected void switchToDefaultFrame()
Deprecated.
-
switchToFrame
protected void switchToFrame(String frameNameOrId)
Deprecated.
-
handleNoSuchFrameException
protected abstract void handleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception)
Deprecated.
-
-