Class Editor


  • @Deprecated
    public class Editor
    extends Object
    Deprecated.
    in 5.8. Use Editor instead from maven module com.atlassian.confluence:confluence-webdriver-pageobjects. See the new README.
    Represents a Content Editor panel, including the top and bottom toolbars, but not including things like page titles. Note that this includes some fields that are only present for blogs, or pages, as well as ones present for comments.
    • Field Detail

      • timeouts

        @Inject
        protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
        Deprecated.
      • driver

        @Inject
        protected org.openqa.selenium.WebDriver driver
        Deprecated.
    • Constructor Detail

      • Editor

        public Editor()
        Deprecated.
    • Method Detail

      • navigateToEditor

        public void navigateToEditor()
        Deprecated.
      • isUndoEnabled

        public com.atlassian.pageobjects.elements.query.TimedCondition isUndoEnabled()
        Deprecated.
      • undo

        public void undo()
        Deprecated.
      • closePageLayout2Menu

        public void closePageLayout2Menu()
        Deprecated.
        Close page layouts toolbar
        Since:
        5.6
      • closeSearchAndReplaceMenu

        public void closeSearchAndReplaceMenu()
        Deprecated.
      • isSearchButtonVisible

        public com.atlassian.pageobjects.elements.query.TimedCondition isSearchButtonVisible()
        Deprecated.
      • clickCancel

        public void clickCancel()
        Deprecated.
      • openSourceEditor

        public void openSourceEditor()
        Deprecated.
      • getSourceEditor

        public SourceEditor getSourceEditor()
        Deprecated.
      • isCancelVisibleNow

        public boolean isCancelVisibleNow()
        Deprecated.
      • clickSave

        public void clickSave()
        Deprecated.
      • saveWithKeyboardShortcut

        public ViewPage saveWithKeyboardShortcut()
        Deprecated.
      • clickOverwrite

        public void clickOverwrite()
        Deprecated.
      • getSaveButtonText

        public com.atlassian.pageobjects.elements.query.TimedQuery<String> getSaveButtonText()
        Deprecated.
      • hoverOverSave

        public void hoverOverSave()
        Deprecated.
      • getToolTip

        public com.atlassian.pageobjects.elements.PageElement getToolTip()
        Deprecated.
      • setVersionComment

        public void setVersionComment​(String versionCommentText)
        Deprecated.
      • getVersionComment

        public String getVersionComment()
        Deprecated.
      • hasVersionComment

        public boolean hasVersionComment()
        Deprecated.
      • hasNotifyWatchers

        public boolean hasNotifyWatchers()
        Deprecated.
      • openLabelsDialog

        public LabelsDialog openLabelsDialog()
        Deprecated.
      • openMovePageDialog

        public MovePageDialog openMovePageDialog()
        Deprecated.
      • isRestrictionsButtonVisible

        public boolean isRestrictionsButtonVisible()
        Deprecated.
      • hasRestrictionsSet

        public boolean hasRestrictionsSet()
        Deprecated.
      • clickPreviewInCommentEditor

        public EditorPreview clickPreviewInCommentEditor()
        Deprecated.
      • hasDraftStatus

        public com.atlassian.pageobjects.elements.query.TimedCondition hasDraftStatus()
        Deprecated.
      • hasViewAutosavedChanges

        public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasViewAutosavedChanges()
        Deprecated.
      • isEditButtonVisible

        public com.atlassian.pageobjects.elements.query.TimedCondition isEditButtonVisible()
        Deprecated.
        The editor's edit button, visible when you are in preview within the editor.
      • isActiveSaveButtonVisible

        public com.atlassian.pageobjects.elements.query.TimedCondition isActiveSaveButtonVisible()
        Deprecated.
        Since 5.8
      • clickEdit

        public void clickEdit()
        Deprecated.
      • openDraftChangesDialogFromAutosave

        public ViewDraftDiffDialog openDraftChangesDialogFromAutosave()
        Deprecated.
      • isQuickEdit

        public com.atlassian.pageobjects.elements.query.TimedCondition isQuickEdit()
        Deprecated.
      • isDirty

        public com.atlassian.pageobjects.elements.query.TimedCondition isDirty()
        Deprecated.
      • isReady

        @Deprecated
        public com.atlassian.pageobjects.elements.query.TimedCondition isReady()
        Deprecated.
        since 5.6 - Use isEditorCurrentlyActive() to check if tinymce is currently active instead.
      • isEditorCurrentlyActive

        public com.atlassian.pageobjects.elements.query.TimedCondition isEditorCurrentlyActive()
        Deprecated.
        Since:
        5.6
      • waitUntilEditorIsActivated

        public void waitUntilEditorIsActivated()
        Deprecated.
      • isTinyMceInit

        @Deprecated
        public com.atlassian.pageobjects.elements.query.TimedCondition isTinyMceInit()
        Deprecated.
        since 5.6- Use isEditorCurrentlyActive() to check if tinymce is currently active instead.
      • clickSaveAndVerifyNoPageReload

        public void clickSaveAndVerifyNoPageReload()
        Deprecated.
        Since:
        5.6
      • getUndoLimit

        public long getUndoLimit()
        Deprecated.
      • setUndoLimit

        public void setUndoLimit​(long limit)
        Deprecated.
      • isTableToolbarOpen

        public com.atlassian.pageobjects.elements.query.TimedCondition isTableToolbarOpen()
        Deprecated.
        true if the Table toolbar is visible
        Since:
        5.6
      • openWikiMarkupDialog

        public WikiMarkupDialog openWikiMarkupDialog()
        Deprecated.
      • openLinkBrowserDialog

        public LinkBrowserDialog openLinkBrowserDialog()
        Deprecated.