Class CommentsSection
- java.lang.Object
-
- com.atlassian.confluence.pageobjects.page.content.CommentsSection
-
@Deprecated public class CommentsSection extends Object
Deprecated.in 5.8. UseCommentsSection
instead 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 class
CommentsSection.Comment
Deprecated.Represents a comment in view modestatic class
CommentsSection.EditComment
Deprecated.Comment in edit mode (it can be a top level or reply comment as well)static class
CommentsSection.NewComment
Deprecated.Represents the editor for a new commentstatic class
CommentsSection.NewReply
Deprecated.Represents the editor for a new replystatic class
CommentsSection.QuickEdit
Deprecated.Represent the editor for editing an existing commentstatic class
CommentsSection.UserLogo
Deprecated.Represent user profile in a quick comment
-
Field Summary
Fields Modifier and Type Field Description protected org.openqa.selenium.WebDriver
driver
Deprecated.protected com.atlassian.pageobjects.PageBinder
pageBinder
Deprecated.
-
Constructor Summary
Constructors Constructor Description CommentsSection()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CommentsSection.NewComment
add()
Deprecated.CommentsSection.NewComment
addUsingShortcut()
Deprecated.CommentsSection.NewComment
addUsingShortcut(String extraKeys)
Deprecated.Trigger the comment dialog using the keyboard shortcut and immediately type more keys.CommentsSection.NewComment
addWithFallback()
Deprecated.This will be removed when we completely remove slow commentCommentsSection.Comment
get(int index)
Deprecated.String
getTextContent()
Deprecated.com.atlassian.pageobjects.elements.query.TimedCondition
isNewCommentVisible()
Deprecated.com.atlassian.pageobjects.elements.query.TimedCondition
isTopLevelCommentAreaVisible()
Deprecated.com.atlassian.pageobjects.elements.query.TimedCondition
isTopLevelCommentEditorVisible()
Deprecated.com.atlassian.pageobjects.elements.query.TimedCondition
isVisible()
Deprecated.int
size()
Deprecated.since 5.5, usetimedSize()
, which returns anTimedQuery
instead.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 anTimedQuery
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.
-
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.
-
-