com.atlassian.confluence.webdriver.pageobjects.module.frame.ConfluenceFrameExecutorTemplate
instead from
maven module com.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.@Deprecated public abstract class ConfluenceFrameExecutorTemplate extends Object implements ConfluenceFrameExecutor
Modifier and Type | Class and 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 and Description |
---|
ConfluenceFrameExecutorTemplate()
Deprecated.
|
Modifier and Type | Method and 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.
|
public ConfluenceFrameExecutorTemplate()
public <T> T onTinyMceIFrame(Callable<T> callback)
ConfluenceFrameExecutor
onTinyMceIFrame
in interface ConfluenceFrameExecutor
callback
- the callback to be executedpublic <T> com.atlassian.pageobjects.elements.query.TimedQuery<T> queryOnTinyMceIFrame(Callable<T> callback)
ConfluenceFrameExecutor
queryOnTinyMceIFrame
in interface ConfluenceFrameExecutor
callback
- the callback to be executedpublic <T> com.atlassian.pageobjects.elements.query.TimedQuery<T> queryOnIFrame(String iFrameId, Callable<T> callback)
ConfluenceFrameExecutor
queryOnIFrame
in interface ConfluenceFrameExecutor
callback
- the callback to be executedprotected void switchToDefaultFrame()
protected void switchToFrame(String frameNameOrId)
protected abstract void handleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception)
Copyright © 2003–2021 Atlassian. All rights reserved.