com.atlassian.confluence.pageobjects.page.content
Class RenderedContent

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.page.content.RenderedContent

public class RenderedContent
extends Object

Represents the rendered wiki content on both the view page and inside the editor.


Field Summary
protected  com.atlassian.webdriver.AtlassianWebDriver driver
           
 
Constructor Summary
RenderedContent()
           
RenderedContent(String frame)
           
 
Method Summary
 String getColumnContent(int column)
          Returns the text content of the given column index.
 org.openqa.selenium.By getColumnLocator()
           
 String getFooterContent()
          Returns the text content of the footer in the content page layout.
 org.openqa.selenium.By getFooterLocator()
           
 String getHeaderContent()
          Returns the text content of the header in the content page layout.
 org.openqa.selenium.By getHeaderLocator()
           
 int getNumberOfColumns()
          Returns the number of columns in the current layout of the content
 String getText()
          Returns all the text in the wiki content
 boolean hasFooter()
          Returns true if the current page content has a footer in its layout.
 boolean hasHeader()
          Returns true if the current page content has a header in its layout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

driver

@Inject
protected com.atlassian.webdriver.AtlassianWebDriver driver
Constructor Detail

RenderedContent

public RenderedContent()

RenderedContent

public RenderedContent(String frame)
Method Detail

getText

public String getText()
Returns all the text in the wiki content


getNumberOfColumns

public int getNumberOfColumns()
Returns the number of columns in the current layout of the content


getColumnContent

public String getColumnContent(int column)
Returns the text content of the given column index. Note that the column index is 1 based.


getColumnLocator

public org.openqa.selenium.By getColumnLocator()

hasHeader

public boolean hasHeader()
Returns true if the current page content has a header in its layout.


getHeaderContent

public String getHeaderContent()
Returns the text content of the header in the content page layout.


getHeaderLocator

public org.openqa.selenium.By getHeaderLocator()

hasFooter

public boolean hasFooter()
Returns true if the current page content has a footer in its layout.


getFooterContent

public String getFooterContent()
Returns the text content of the footer in the content page layout.


getFooterLocator

public org.openqa.selenium.By getFooterLocator()


Copyright © 2003-2013 Atlassian. All Rights Reserved.