com.atlassian.confluence.pageobjects.module.frame
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceFrameExecutorTemplate.Lenient
public ConfluenceFrameExecutorTemplate.Lenient()
handleNoSuchFrameException
protected void handleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception)
- Specified by:
handleNoSuchFrameException
in class ConfluenceFrameExecutorTemplate
Copyright © 2003–2015 Atlassian. All rights reserved.