com.atlassian.confluence.pageobjects.module.frame
Class ConfluenceFrameExecutorTemplate.Lenient

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.module.frame.ConfluenceFrameExecutorTemplate
      extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.confluence.pageobjects.module.frame.ConfluenceFrameExecutorTemplate
ConfluenceFrameExecutorTemplate.Lenient, ConfluenceFrameExecutorTemplate.Strict
 
Constructor Summary
ConfluenceFrameExecutorTemplate.Lenient()
           
 
Method Summary
protected  void handleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception)
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.module.frame.ConfluenceFrameExecutorTemplate
onTinyMceIFrame, queryOnIFrame, queryOnTinyMceIFrame, switchToDefaultFrame, switchToFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceFrameExecutorTemplate.Lenient

public ConfluenceFrameExecutorTemplate.Lenient()
Method Detail

handleNoSuchFrameException

protected void handleNoSuchFrameException(org.openqa.selenium.NoSuchFrameException exception)
Specified by:
handleNoSuchFrameException in class ConfluenceFrameExecutorTemplate


Copyright © 2003–2015 Atlassian. All rights reserved.