Class CommentsSection


  • @Deprecated
    public class CommentsSection
    extends Object
    Deprecated.
    in 5.8. Use CommentsSection instead from maven module com.atlassian.confluence:confluence-webdriver-pageobjects. See the new README.
    Represents the Comments Area at the bottom of a Confluence Page or Blog Post view.
    See Also:
    ViewPage
    • Field Detail

      • pageBinder

        @Inject
        protected com.atlassian.pageobjects.PageBinder pageBinder
        Deprecated.
      • driver

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

      • CommentsSection

        public CommentsSection()
        Deprecated.
    • Method Detail

      • isVisible

        public com.atlassian.pageobjects.elements.query.TimedCondition isVisible()
        Deprecated.
      • isTopLevelCommentAreaVisible

        public com.atlassian.pageobjects.elements.query.TimedCondition isTopLevelCommentAreaVisible()
        Deprecated.
      • isTopLevelCommentEditorVisible

        public com.atlassian.pageobjects.elements.query.TimedCondition isTopLevelCommentEditorVisible()
        Deprecated.
      • isNewCommentVisible

        public com.atlassian.pageobjects.elements.query.TimedCondition isNewCommentVisible()
        Deprecated.
      • size

        @Deprecated
        public int size()
        Deprecated.
        since 5.5, use timedSize(), which returns an TimedQuery instead.
        Returns:
        an int, that represents how many comments currently exists. However that could be a wrong value if all comments are not currently loaded at the moment of the query.
        Since:
        5.5
      • timedSize

        public com.atlassian.pageobjects.elements.query.TimedQuery<Integer> timedSize()
        Deprecated.
        Returns:
        a TimedQuery, that represents how many comments currently exists.
      • addUsingShortcut

        public CommentsSection.NewComment addUsingShortcut​(String extraKeys)
        Deprecated.
        Trigger the comment dialog using the keyboard shortcut and immediately type more keys. The additional keys will be replayed into the comment.
      • addWithFallback

        public CommentsSection.NewComment addWithFallback()
        Deprecated.
        This will be removed when we completely remove slow comment
      • getTextContent

        public String getTextContent()
        Deprecated.