com.atlassian.confluence.pageobjects.page.content
Class CommentsSection
java.lang.Object
com.atlassian.confluence.pageobjects.page.content.CommentsSection
public class CommentsSection
- extends java.lang.Object
Represents the Comments Area at the bottom of a Confluence Page or Blog Post view.
- See Also:
ViewPage
Field Summary |
protected org.openqa.selenium.WebDriver |
driver
|
protected com.atlassian.pageobjects.PageBinder |
pageBinder
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pageBinder
@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder
driver
@Inject
protected org.openqa.selenium.WebDriver driver
CommentsSection
public CommentsSection()
isVisible
public com.atlassian.pageobjects.elements.query.TimedCondition isVisible()
isTopLevelCommentAreaVisible
public com.atlassian.pageobjects.elements.query.TimedCondition isTopLevelCommentAreaVisible()
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<java.lang.Integer> timedSize()
- Returns:
- a
TimedQuery
, that represents how many comments currently exists.
get
public CommentsSection.Comment get(int index)
add
public CommentsSection.NewComment add()
addUsingShortcut
public CommentsSection.NewComment addUsingShortcut()
addUsingShortcut
public CommentsSection.NewComment addUsingShortcut(java.lang.String extraKeys)
addWithFallback
public CommentsSection.NewComment addWithFallback()
getTextContent
public java.lang.String getTextContent()
Copyright © 2003-2014 Atlassian. All Rights Reserved.