com.atlassian.confluence.pageobjects.page.content
Class ViewPage
java.lang.Object
com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
com.atlassian.confluence.pageobjects.page.content.AbstractViewPage
com.atlassian.confluence.pageobjects.page.content.ViewPage
- All Implemented Interfaces:
- com.atlassian.pageobjects.Page
- Direct Known Subclasses:
- ViewPageAddComment, ViewPageAnonymous
public class ViewPage
- extends AbstractViewPage
The view content page.
- Since:
- 4.1
Methods inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage |
back, getAlert, getComponent, getHeader, getInlineDialog, getMainHeader, getMetadata, getMetadataLong, getPageHeadingColor, isDarkFeatureEnabled, isLoggedIn, openAddMenu, openBrowseMenu, openHelpMenu, openToolsMenu, openUserMenu, sendKeyboardShortcut, sendKeyboardShortcutAndWaitForCondition, setSetupComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PAGE_ID_META_IDENTIFIER
public static final java.lang.String PAGE_ID_META_IDENTIFIER
- See Also:
- Constant Field Values
SPACE_KEY_META_IDENTIFIER
public static final java.lang.String SPACE_KEY_META_IDENTIFIER
- See Also:
- Constant Field Values
ViewPage
public ViewPage()
ViewPage
public ViewPage(java.lang.String pageId)
ViewPage
public ViewPage(AbstractPageEntity pageEntity)
doWait
public void doWait()
- Overrides:
doWait
in class ConfluenceAbstractPage
getUrl
public java.lang.String getUrl()
getPageEntity
public AbstractPageEntity getPageEntity()
isFavourite
public boolean isFavourite()
edit
public EditContentPage edit()
getTextContent
public java.lang.String getTextContent()
getTextContent
public java.lang.String getTextContent(java.lang.String tagName)
- Parameters:
tagName
- html tag name
- Returns:
- the text in the given tagname in the main content
getMainContent
public com.atlassian.pageobjects.elements.PageElement getMainContent()
getRenderedContent
public RenderedContent getRenderedContent()
getBreadcrumbs
public Breadcrumbs getBreadcrumbs()
getTitle
public java.lang.String getTitle()
getLabelSection
public PageLabelsSection getLabelSection()
getLikeSection
public LikeSection getLikeSection()
getLabels
public java.util.List<java.lang.String> getLabels()
getComments
public CommentsSection getComments()
pageHasElement
public boolean pageHasElement(java.lang.String element)
openHelpDialogWithShortcut
public KeyboardShortcutHelperDialog openHelpDialogWithShortcut()
openLabelsDialog
public LabelsDialog openLabelsDialog()
openLabelsDialogViaKeyboard
public LabelsDialog openLabelsDialogViaKeyboard()
canEdit
public boolean canEdit()
canEditLabels
public com.atlassian.pageobjects.elements.query.TimedCondition canEditLabels()
findQuickReloadDialog
public QuickReloadDialog findQuickReloadDialog()
contentVisibleCondition
public com.atlassian.pageobjects.elements.query.TimedCondition contentVisibleCondition()
pageCommentsVisibleCondition
public com.atlassian.pageobjects.elements.query.TimedCondition pageCommentsVisibleCondition()
commentsSectionPresentCondition
public com.atlassian.pageobjects.elements.query.TimedCondition commentsSectionPresentCondition()
quickCommentPromptVisibleCondition
public com.atlassian.pageobjects.elements.query.TimedCondition quickCommentPromptVisibleCondition()
editorContainerVisibleCondition
public com.atlassian.pageobjects.elements.query.TimedCondition editorContainerVisibleCondition()
clickOnBody
public void clickOnBody()
getPageId
public long getPageId()
getSpaceKey
public java.lang.String getSpaceKey()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
addCommentRTEVisibleCondition
public com.atlassian.pageobjects.elements.query.TimedCondition addCommentRTEVisibleCondition()
getWatchDialog
public WatchDialog getWatchDialog()
openRestrictionsDialog
public PageRestrictionsDialog openRestrictionsDialog()
hasPageRestrictions
public com.atlassian.pageobjects.elements.query.TimedCondition hasPageRestrictions()
clickPageModificationLink
public AbstractViewPage clickPageModificationLink()
Copyright © 2003-2013 Atlassian. All Rights Reserved.