|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.pageobjects.page.content.CommentsSection
public class CommentsSection
Represents the Comments Area at the bottom of a Confluence Page or Blog Post view.
ViewPage
Nested Class Summary | |
---|---|
static class |
CommentsSection.Comment
Represents a comment in view mode |
static class |
CommentsSection.EditComment
Comment in edit mode |
static class |
CommentsSection.NewComment
Represents the editor for a new comment |
static class |
CommentsSection.NewReply
Represents the editor for a new reply |
static class |
CommentsSection.QuickEdit
Represent the editor for editing an existing comment |
static class |
CommentsSection.UserLogo
Represent user profile in a quick comment |
Field Summary | |
---|---|
protected org.openqa.selenium.WebDriver |
driver
|
protected com.atlassian.pageobjects.PageBinder |
pageBinder
|
Constructor Summary | |
---|---|
CommentsSection()
|
Method Summary | |
---|---|
CommentsSection.NewComment |
add()
|
CommentsSection.NewComment |
addUsingShortcut()
|
CommentsSection.NewComment |
addUsingShortcut(java.lang.String extraKeys)
Trigger the comment dialog using the keyboard shortcut and immediately type more keys. |
CommentsSection.NewComment |
addWithFallback()
|
CommentsSection.Comment |
get(int index)
|
java.lang.String |
getTextContent()
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isTopLevelCommentAreaVisible()
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isVisible()
|
int |
size()
Deprecated. since 5.5, use timedSize() , which returns an TimedQuery instead. |
com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Integer> |
timedSize()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected org.openqa.selenium.WebDriver driver
Constructor Detail |
---|
public CommentsSection()
Method Detail |
---|
public com.atlassian.pageobjects.elements.query.TimedCondition isVisible()
public com.atlassian.pageobjects.elements.query.TimedCondition isTopLevelCommentAreaVisible()
@Deprecated public int size()
timedSize()
, which returns an TimedQuery
instead.
public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Integer> timedSize()
TimedQuery
, that represents how many comments currently exists.public CommentsSection.Comment get(int index)
public CommentsSection.NewComment add()
public CommentsSection.NewComment addUsingShortcut()
public CommentsSection.NewComment addUsingShortcut(java.lang.String extraKeys)
public CommentsSection.NewComment addWithFallback()
public java.lang.String getTextContent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |