Class ConfluenceFrameExecutorTemplate
- java.lang.Object
-
- com.atlassian.confluence.pageobjects.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. UseConfluenceFrameExecutorTemplateinstead from maven modulecom.atlassian.confluence:confluence-webdriver-pageobjects. See the new README.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfluenceFrameExecutorTemplate.LenientDeprecated.Tries to switch to the given frame before running the closure but does not escape if not possible.static classConfluenceFrameExecutorTemplate.StrictDeprecated.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 voidhandleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception)Deprecated.<T> TonTinyMceIFrame(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 voidswitchToDefaultFrame()Deprecated.protected voidswitchToFrame(String frameNameOrId)Deprecated.
-
-
-
Method Detail
-
onTinyMceIFrame
public <T> T onTinyMceIFrame(Callable<T> callback)
Deprecated.Description copied from interface:ConfluenceFrameExecutorSwitches the driver to the TinyMCE IFrame if necessary and executes the given callback.- Specified by:
onTinyMceIFramein 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:ConfluenceFrameExecutorAllows repeated switching the driver to the TinyMCE IFrame if necessary to execute a query.- Specified by:
queryOnTinyMceIFramein 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:ConfluenceFrameExecutorSwitches the driver to a named IFrame to execute a query.- Specified by:
queryOnIFramein interfaceConfluenceFrameExecutorcallback- 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.
-
-