Editor
instead from
maven module com.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.@Deprecated public class Editor extends Object
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.WebDriver |
driver
Deprecated.
|
protected com.atlassian.pageobjects.elements.timeout.Timeouts |
timeouts
Deprecated.
|
Constructor and Description |
---|
Editor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clickCancel()
Deprecated.
|
void |
clickEdit()
Deprecated.
|
ImageBrowserDialog |
clickInsertFilesButton()
Deprecated.
Perform click action to Inser files button in editor toolbar
|
void |
clickOverwrite()
Deprecated.
|
EditorPreview |
clickPreview()
Deprecated.
|
void |
clickSave()
Deprecated.
|
void |
clickSaveAndVerifyNoPageReload()
Deprecated.
|
void |
clickSaveAndWaitForPageChange()
Deprecated.
|
void |
closePageLayout2Menu()
Deprecated.
Close page layouts toolbar
|
void |
closeSearchAndReplaceMenu()
Deprecated.
|
EditorContent |
getContent()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getLabelsButtonText()
Deprecated.
For Confluence 5.8 or later, this will return the tooltip of the labels icon in the page metadata next to the breadcrumbs.
|
LinkPropertyPanel |
getLinkPropertyPanel()
Deprecated.
since 5.7, please use
EditorContent.getEmbededLinks() and click on the individual link to get their link property panel. |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getSaveButtonText()
Deprecated.
|
SourceEditor |
getSourceEditor()
Deprecated.
|
EditorMainToolbar |
getToolbar()
Deprecated.
|
com.atlassian.pageobjects.elements.PageElement |
getToolTip()
Deprecated.
|
long |
getUndoLimit()
Deprecated.
|
String |
getVersionComment()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
hasDraftStatus()
Deprecated.
|
boolean |
hasNotifyWatchers()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
hasPreviewContent(String string)
Deprecated.
since 5.5 use
EditorPreview.containsContent(String) , which waits for visibility too
and uses pageElements instead of dodgy js. |
com.atlassian.pageobjects.elements.query.TimedCondition |
hasRestrictionsButtonText(String text)
Deprecated.
For Confluence 5.8 or later, this will return the tooltip of the restrictions icon in the page metadata next to the breadcrumbs.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
hasRestrictionsIcon(String iconClass)
Deprecated.
|
boolean |
hasRestrictionsSet()
Deprecated.
|
boolean |
hasVersionComment()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
hasViewAutosavedChanges()
Deprecated.
|
void |
hoverOverSave()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isActiveSaveButtonVisible()
Deprecated.
Since 5.8
|
boolean |
isCancelVisiableNow()
Deprecated.
Since 5.7. Mis-spelled method name. Retained for backwards compatibility. Use
isCancelVisibleNow() |
boolean |
isCancelVisibleNow()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isDirty()
Deprecated.
|
boolean |
isEditBlogPostUrl()
Deprecated.
Returns true if the page url matches a valid blog post edition url.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isEditButtonVisible()
Deprecated.
The editor's edit button, visible when you are in preview within the editor.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isEditorCurrentlyActive()
Deprecated.
|
boolean |
isEditPageUrl()
Deprecated.
since 5.5 use
EditContentPage.hasEditPageUrl() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isEditPageUrlTimed()
Deprecated.
If the page url matches a valid page edition url.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isQuickEdit()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isReady()
Deprecated.
since 5.6 - Use
isEditorCurrentlyActive() to check if tinymce is currently active instead. |
boolean |
isRestrictionsButtonVisible()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isSearchButtonVisible()
Deprecated.
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isTableToolbarOpen()
Deprecated.
true if the Table toolbar is visible
|
com.atlassian.pageobjects.elements.query.TimedCondition |
isTinyMceInit()
Deprecated.
since 5.6- Use
isEditorCurrentlyActive() to check if tinymce is currently active instead. |
com.atlassian.pageobjects.elements.query.TimedCondition |
isUndoEnabled()
Deprecated.
|
void |
navigateToEditor()
Deprecated.
|
ViewDraftDiffDialog |
openDraftChangesDialogFromAutosave()
Deprecated.
|
ImageBrowserDialog |
openImageDialog()
Deprecated.
|
InsertDropdownMenu |
openInsertMenu()
Deprecated.
|
LabelsDialog |
openLabelsDialog()
Deprecated.
|
LinkBrowserDialog |
openLinkBrowserDialog()
Deprecated.
|
MacroBrowserDialog |
openMacroBrowser()
Deprecated.
|
MovePageDialog |
openMovePageDialog()
Deprecated.
|
PageRestrictionsDialog |
openRestrictionsDialog()
Deprecated.
|
void |
openSourceEditor()
Deprecated.
|
WikiMarkupDialog |
openWikiMarkupDialog()
Deprecated.
|
ViewPage |
saveWithKeyboardShortcut()
Deprecated.
|
void |
setUndoLimit(long limit)
Deprecated.
|
void |
setVersionComment(String versionCommentText)
Deprecated.
|
PageLayout2Toolbar |
showPageLayout2Menu()
Deprecated.
|
SearchAndReplaceToolbar |
showSearchAndReplaceMenu()
Deprecated.
|
void |
undo()
Deprecated.
|
void |
waitUntilEditorIsActivated()
Deprecated.
|
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
@Inject protected org.openqa.selenium.WebDriver driver
public void navigateToEditor()
public PageLayout2Toolbar showPageLayout2Menu()
public com.atlassian.pageobjects.elements.query.TimedCondition isUndoEnabled()
public void undo()
public void closePageLayout2Menu()
public SearchAndReplaceToolbar showSearchAndReplaceMenu()
public void closeSearchAndReplaceMenu()
public com.atlassian.pageobjects.elements.query.TimedCondition isSearchButtonVisible()
public void clickCancel()
public void openSourceEditor()
public SourceEditor getSourceEditor()
@Deprecated public boolean isCancelVisiableNow()
isCancelVisibleNow()
public boolean isCancelVisibleNow()
public void clickSave()
public ViewPage saveWithKeyboardShortcut()
public void clickOverwrite()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getSaveButtonText()
public void hoverOverSave()
public com.atlassian.pageobjects.elements.PageElement getToolTip()
public void setVersionComment(String versionCommentText)
public String getVersionComment()
public boolean hasVersionComment()
public boolean hasNotifyWatchers()
public LabelsDialog openLabelsDialog()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getLabelsButtonText()
public MovePageDialog openMovePageDialog()
public boolean isRestrictionsButtonVisible()
public PageRestrictionsDialog openRestrictionsDialog()
public boolean hasRestrictionsSet()
public com.atlassian.pageobjects.elements.query.TimedCondition hasRestrictionsButtonText(String text)
public com.atlassian.pageobjects.elements.query.TimedCondition hasRestrictionsIcon(String iconClass)
public EditorPreview clickPreview()
public com.atlassian.pageobjects.elements.query.TimedCondition hasDraftStatus()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasViewAutosavedChanges()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition hasPreviewContent(String string)
EditorPreview.containsContent(String)
, which waits for visibility too
and uses pageElements instead of dodgy js.public com.atlassian.pageobjects.elements.query.TimedCondition isEditButtonVisible()
public com.atlassian.pageobjects.elements.query.TimedCondition isActiveSaveButtonVisible()
public void clickEdit()
public ViewDraftDiffDialog openDraftChangesDialogFromAutosave()
public com.atlassian.pageobjects.elements.query.TimedCondition isQuickEdit()
public com.atlassian.pageobjects.elements.query.TimedCondition isDirty()
@Deprecated public LinkPropertyPanel getLinkPropertyPanel()
EditorContent.getEmbededLinks()
and click on the individual link to get their link property panel.public EditorContent getContent()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition isReady()
isEditorCurrentlyActive()
to check if tinymce is currently active instead.@Deprecated public boolean isEditPageUrl()
EditContentPage.hasEditPageUrl()
public com.atlassian.pageobjects.elements.query.TimedCondition isEditorCurrentlyActive()
public void waitUntilEditorIsActivated()
@Deprecated public com.atlassian.pageobjects.elements.query.TimedCondition isTinyMceInit()
isEditorCurrentlyActive()
to check if tinymce is currently active instead.public com.atlassian.pageobjects.elements.query.TimedCondition isEditPageUrlTimed()
public boolean isEditBlogPostUrl()
public void clickSaveAndWaitForPageChange()
public void clickSaveAndVerifyNoPageReload()
public long getUndoLimit()
public void setUndoLimit(long limit)
public com.atlassian.pageobjects.elements.query.TimedCondition isTableToolbarOpen()
public InsertDropdownMenu openInsertMenu()
public WikiMarkupDialog openWikiMarkupDialog()
public LinkBrowserDialog openLinkBrowserDialog()
public MacroBrowserDialog openMacroBrowser()
public ImageBrowserDialog openImageDialog()
public ImageBrowserDialog clickInsertFilesButton()
public EditorMainToolbar getToolbar()
Copyright © 2003–2017 Atlassian. All rights reserved.