Class CommentsSection
- java.lang.Object
-
- com.atlassian.confluence.pageobjects.page.content.CommentsSection
-
@Deprecated public class CommentsSection extends Object
Deprecated.in 5.8. UseCommentsSectioninstead from maven modulecom.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommentsSection.CommentDeprecated.Represents a comment in view modestatic classCommentsSection.EditCommentDeprecated.Comment in edit mode (it can be a top level or reply comment as well)static classCommentsSection.NewCommentDeprecated.Represents the editor for a new commentstatic classCommentsSection.NewReplyDeprecated.Represents the editor for a new replystatic classCommentsSection.QuickEditDeprecated.Represent the editor for editing an existing commentstatic classCommentsSection.UserLogoDeprecated.Represent user profile in a quick comment
-
Field Summary
Fields Modifier and Type Field Description protected org.openqa.selenium.WebDriverdriverDeprecated.protected com.atlassian.pageobjects.PageBinderpageBinderDeprecated.
-
Constructor Summary
Constructors Constructor Description CommentsSection()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CommentsSection.NewCommentadd()Deprecated.CommentsSection.NewCommentaddUsingShortcut()Deprecated.CommentsSection.NewCommentaddUsingShortcut(String extraKeys)Deprecated.Trigger the comment dialog using the keyboard shortcut and immediately type more keys.CommentsSection.NewCommentaddWithFallback()Deprecated.This will be removed when we completely remove slow commentCommentsSection.Commentget(int index)Deprecated.StringgetTextContent()Deprecated.com.atlassian.pageobjects.elements.query.TimedConditionisNewCommentVisible()Deprecated.com.atlassian.pageobjects.elements.query.TimedConditionisTopLevelCommentAreaVisible()Deprecated.com.atlassian.pageobjects.elements.query.TimedConditionisTopLevelCommentEditorVisible()Deprecated.com.atlassian.pageobjects.elements.query.TimedConditionisVisible()Deprecated.intsize()Deprecated.since 5.5, usetimedSize(), which returns anTimedQueryinstead.com.atlassian.pageobjects.elements.query.TimedQuery<Integer>timedSize()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, usetimedSize(), which returns anTimedQueryinstead.- 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.
-
get
public CommentsSection.Comment get(int index)
Deprecated.
-
add
public CommentsSection.NewComment add()
Deprecated.
-
addUsingShortcut
public CommentsSection.NewComment addUsingShortcut()
Deprecated.
-
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.
-
-