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
,ViewPageEditComment
,ViewPageReplyComment
@Deprecated public class ViewPage extends AbstractViewPage
Deprecated.in 5.8. UseViewPage
instead from maven modulecom.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.The view content page.- Since:
- 4.1
-
-
Field Summary
Fields Modifier and Type Field Description static String
PAGE_ID_META_IDENTIFIER
Deprecated.static String
SPACE_KEY_META_IDENTIFIER
Deprecated.-
Fields inherited from class com.atlassian.confluence.pageobjects.page.content.AbstractViewPage
pageEntity
-
Fields inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
driver, pageBinder, pageElementFinder, serverPerformance, timeouts, waiter, waitTimeout
-
-
Constructor Summary
Constructors Constructor Description ViewPage()
Deprecated.ViewPage(AbstractPageEntity pageEntity)
Deprecated.ViewPage(String pageId)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.atlassian.pageobjects.elements.query.TimedQuery<Boolean>
areEditorResourcesPreLoaded()
Deprecated.True if the page has preloaded all the resources the editor needs to initialisecom.atlassian.pageobjects.elements.query.TimedCondition
canComment()
Deprecated.boolean
canEdit()
Deprecated.com.atlassian.pageobjects.elements.query.TimedCondition
contentVisibleCondition()
Deprecated.void
doWait()
Deprecated.EditContentPage
edit()
Deprecated.com.atlassian.pageobjects.elements.query.TimedCondition
editorContainerVisibleCondition()
Deprecated.EditContentPage
editShortcut()
Deprecated.Triggers edit shortcut and binds editor content pageEditContentPage
editShortcut(String extraKeys)
Deprecated.Triggers edit shortcut and binds editor content pageBreadcrumbs
getBreadcrumbs()
Deprecated.CommentsSection
getComments()
Deprecated.List<String>
getLabels()
Deprecated.PageLabelsSection
getLabelSection()
Deprecated.com.atlassian.pageobjects.elements.PageElement
getMainContent()
Deprecated.AbstractPageEntity
getPageEntity()
Deprecated.long
getPageId()
Deprecated.Long
getPageRenderTimeStamp()
Deprecated.RenderedContent
getRenderedContent()
Deprecated.String
getSpaceKey()
Deprecated.String
getTextContent()
Deprecated.String
getTextContent(String tagName)
Deprecated.String
getTextContentDocTheme()
Deprecated.since 6.0 due to removal of DocThemeString
getTitle()
Deprecated.String
getUrl()
Deprecated.WatchDialog
getWatchDialog()
Deprecated.boolean
isFavourite()
Deprecated.LabelsDialog
openLabelsDialog()
Deprecated.com.atlassian.pageobjects.elements.query.TimedCondition
pageCommentsVisibleCondition()
Deprecated.boolean
pageHasElement(String element)
Deprecated.com.atlassian.pageobjects.elements.query.TimedCondition
quickCommentPromptVisibleCondition()
Deprecated.void
sendKeysToWindow(String keys)
Deprecated.String
toString()
Deprecated.void
waitUntilEditorResourcesArePreloaded()
Deprecated.-
Methods inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
back, getAlert, getComponent, getHeader, getMainHeader, getMetadata, getMetadataLong, isDarkFeatureEnabled, openToolsMenu, setSetupComplete
-
-
-
-
Field Detail
-
PAGE_ID_META_IDENTIFIER
public static final String PAGE_ID_META_IDENTIFIER
Deprecated.- See Also:
- Constant Field Values
-
SPACE_KEY_META_IDENTIFIER
public static final String SPACE_KEY_META_IDENTIFIER
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ViewPage
public ViewPage()
Deprecated.
-
ViewPage
public ViewPage(String pageId)
Deprecated.
-
ViewPage
public ViewPage(AbstractPageEntity pageEntity)
Deprecated.
-
-
Method Detail
-
doWait
public void doWait()
Deprecated.- Overrides:
doWait
in classConfluenceAbstractPage
-
getUrl
public String getUrl()
Deprecated.
-
getPageEntity
public AbstractPageEntity getPageEntity()
Deprecated.
-
isFavourite
public boolean isFavourite()
Deprecated.
-
edit
public EditContentPage edit()
Deprecated.
-
sendKeysToWindow
public void sendKeysToWindow(String keys)
Deprecated.
-
editShortcut
public EditContentPage editShortcut(String extraKeys)
Deprecated.Triggers edit shortcut and binds editor content page- Since:
- 5.5
-
areEditorResourcesPreLoaded
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> areEditorResourcesPreLoaded()
Deprecated.True if the page has preloaded all the resources the editor needs to initialise- Since:
- 5.6
-
waitUntilEditorResourcesArePreloaded
public void waitUntilEditorResourcesArePreloaded()
Deprecated.- Since:
- 5.6
-
editShortcut
public EditContentPage editShortcut()
Deprecated.Triggers edit shortcut and binds editor content page- Since:
- 5.5
-
getTextContent
public String getTextContent()
Deprecated.
-
getTextContentDocTheme
public String getTextContentDocTheme()
Deprecated.since 6.0 due to removal of DocTheme
-
getTextContent
public String getTextContent(String tagName)
Deprecated.- Parameters:
tagName
- html tag name- Returns:
- the text in the given tagname in the main content
-
getMainContent
public com.atlassian.pageobjects.elements.PageElement getMainContent()
Deprecated.
-
getRenderedContent
public RenderedContent getRenderedContent()
Deprecated.
-
getBreadcrumbs
public Breadcrumbs getBreadcrumbs()
Deprecated.
-
getTitle
public String getTitle()
Deprecated.
-
getLabelSection
public PageLabelsSection getLabelSection()
Deprecated.
-
getComments
public CommentsSection getComments()
Deprecated.
-
pageHasElement
public boolean pageHasElement(String element)
Deprecated.
-
openLabelsDialog
public LabelsDialog openLabelsDialog()
Deprecated.
-
canEdit
public boolean canEdit()
Deprecated.
-
canComment
public com.atlassian.pageobjects.elements.query.TimedCondition canComment()
Deprecated.
-
contentVisibleCondition
public com.atlassian.pageobjects.elements.query.TimedCondition contentVisibleCondition()
Deprecated.
-
pageCommentsVisibleCondition
public com.atlassian.pageobjects.elements.query.TimedCondition pageCommentsVisibleCondition()
Deprecated.
-
quickCommentPromptVisibleCondition
public com.atlassian.pageobjects.elements.query.TimedCondition quickCommentPromptVisibleCondition()
Deprecated.
-
editorContainerVisibleCondition
public com.atlassian.pageobjects.elements.query.TimedCondition editorContainerVisibleCondition()
Deprecated.
-
getPageId
public long getPageId()
Deprecated.
-
getSpaceKey
public String getSpaceKey()
Deprecated.
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classConfluenceAbstractPage
-
getWatchDialog
public WatchDialog getWatchDialog()
Deprecated.
-
getPageRenderTimeStamp
public Long getPageRenderTimeStamp()
Deprecated.- Since:
- 5.6
-
-