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. UseViewPageinstead 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 StringPAGE_ID_META_IDENTIFIERDeprecated.static StringSPACE_KEY_META_IDENTIFIERDeprecated.-
Fields inherited from class com.atlassian.confluence.pageobjects.page.content.AbstractViewPage
pageEntity
-
Fields inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
driver, javascriptExecutor, pageBinder, pageElementFinder, serverPerformance, timeouts, 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.TimedConditioncanComment()Deprecated.booleancanEdit()Deprecated.com.atlassian.pageobjects.elements.query.TimedConditioncontentVisibleCondition()Deprecated.voiddoWait()Deprecated.EditContentPageedit()Deprecated.com.atlassian.pageobjects.elements.query.TimedConditioneditorContainerVisibleCondition()Deprecated.EditContentPageeditShortcut()Deprecated.Triggers edit shortcut and binds editor content pageEditContentPageeditShortcut(String extraKeys)Deprecated.Triggers edit shortcut and binds editor content pageBreadcrumbsgetBreadcrumbs()Deprecated.CommentsSectiongetComments()Deprecated.List<String>getLabels()Deprecated.PageLabelsSectiongetLabelSection()Deprecated.com.atlassian.pageobjects.elements.PageElementgetMainContent()Deprecated.AbstractPageEntitygetPageEntity()Deprecated.longgetPageId()Deprecated.LonggetPageRenderTimeStamp()Deprecated.RenderedContentgetRenderedContent()Deprecated.StringgetSpaceKey()Deprecated.StringgetTextContent()Deprecated.StringgetTextContent(String tagName)Deprecated.StringgetTextContentDocTheme()Deprecated.since 6.0 due to removal of DocThemeStringgetTitle()Deprecated.StringgetUrl()Deprecated.WatchDialoggetWatchDialog()Deprecated.booleanisFavourite()Deprecated.LabelsDialogopenLabelsDialog()Deprecated.com.atlassian.pageobjects.elements.query.TimedConditionpageCommentsVisibleCondition()Deprecated.booleanpageHasElement(String element)Deprecated.com.atlassian.pageobjects.elements.query.TimedConditionquickCommentPromptVisibleCondition()Deprecated.voidsendKeysToWindow(String keys)Deprecated.StringtoString()Deprecated.voidwaitUntilEditorResourcesArePreloaded()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:
doWaitin 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:
toStringin classConfluenceAbstractPage
-
getWatchDialog
public WatchDialog getWatchDialog()
Deprecated.
-
getPageRenderTimeStamp
public Long getPageRenderTimeStamp()
Deprecated.- Since:
- 5.6
-
-