Class RenderedContent


  • @Deprecated
    public class RenderedContent
    extends Object
    Deprecated.
    in 5.8. Use RenderedContent instead from maven module com.atlassian.confluence:confluence-webdriver-pageobjects. See the new README.
    Represents the rendered content on both the view page and inside the editor.
    • Field Detail

      • page

        @Inject
        protected com.atlassian.pageobjects.elements.PageElementFinder page
        Deprecated.
      • binder

        @Inject
        protected com.atlassian.pageobjects.PageBinder binder
        Deprecated.
      • timeouts

        @Inject
        protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
        Deprecated.
        Returns the text content of the given column index. Note that the column index is 1 based.
    • Constructor Detail

      • RenderedContent

        public RenderedContent()
        Deprecated.
    • Method Detail

      • getText

        @Deprecated
        public String getText()
        Deprecated.
        since 5.6 use getTextTimed instead
        Returns all the text in the wiki content
      • getAttribute

        public com.atlassian.pageobjects.elements.query.TimedQuery<String> getAttribute​(org.openqa.selenium.By locator,
                                                                                        String attributeName)
        Deprecated.
        Get attribute by locator
        Since:
        5.7
      • getTextTimed

        public com.atlassian.pageobjects.elements.query.TimedQuery<String> getTextTimed()
        Deprecated.
        Returns all the text in the wiki content
        Since:
        5.6
      • getNumberOfColumns

        public com.atlassian.pageobjects.elements.query.TimedQuery<Integer> getNumberOfColumns​(org.openqa.selenium.By parentRow)
        Deprecated.
        Gets number of columns for a particular row (for page layouts)
        Since:
        5.6
      • getNumberOfColumns

        public int getNumberOfColumns()
        Deprecated.
        Returns the number of columns in the current layout of the content
      • getColumnDataType

        public String getColumnDataType​(int column)
        Deprecated.
        Return the cell type for a certain cell, querying data-type attribute. Note that the column index is 1 based.
      • getColumnContent

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

        public com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimedColumnContent​(int column)
        Deprecated.
      • getTimedPageLayoutsCellContent

        public com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimedPageLayoutsCellContent​(int row,
                                                                                                          int column)
        Deprecated.
        Parameters:
        row - is 1 index based
        column - is 1 index based
        Since:
        5.6
      • getCellLocator

        public org.openqa.selenium.By getCellLocator()
        Deprecated.
      • getColumnLocator

        public org.openqa.selenium.By getColumnLocator()
        Deprecated.
      • isElementPresentInEditorContent

        public Boolean isElementPresentInEditorContent​(org.openqa.selenium.By selection)
        Deprecated.
        Returns if certain selection is matched on the editor content