public class WYSIWYGEditPage extends PreviewableEditPage
EditPage.Editor
cancel, currentEditorDiv, save, saveandcontinue, syntaxIdSelect
Constructor and Description |
---|
WYSIWYGEditPage() |
Modifier and Type | Method and Description |
---|---|
ClassEditPage |
editClass()
Performs a click on the "edit class" entry of the content menu.
|
<T extends InlinePage> |
editInline()
Performs a click on the "edit inline" entry of the content menu.
|
ObjectEditPage |
editObjects()
Performs a click on the "edit objects" entry of the content menu.
|
RightsEditPage |
editRights()
Performs a click on the "edit acces rights" entry of the content menu.
|
WikiEditPage |
editWiki()
Performs a click on the "edit wiki" entry of the content menu.
|
WYSIWYGEditPage |
editWYSIWYG()
Performs a click on the "edit wysiwyg" entry of the content menu.
|
String |
getContent()
Get the
content of the page. |
static WYSIWYGEditPage |
gotoPage(String space,
String page)
Go to the passed page in WYSIWYG edit mode.
|
void |
setContent(String content)
Sets the content of the page.
|
WYSIWYGEditPage |
waitUntilPageIsLoaded()
Waits until the page has loaded.
|
clickPreview, getPreviewButton
clickCancel, clickCancelCSRFWarningButton, clickForceSaveCSRFButton, clickSaveAndContinue, clickSaveAndContinue, clickSaveAndView, clickSaveAndView, clickTranslate, getDefaultLanguage, getDocumentTitle, getEditor, getExistingLocales, getExistingLocales, getNotExistingLocales, getParent, getSaveAndContinueButton, getSaveAndViewButton, getSyntaxId, isCSRFWarningDisplayed, setDefaultLanguage, setSyntaxId, useShortcutKeyForCancellingEdition, waitUntilPageJSIsLoaded
canDelete, clickAdminActionsSubMenuEntry, clickEditSubMenuEntry, clickLocale, clickMoreActionsSubMenuEntry, copy, createInlinePage, createPage, delete, deletePage, edit, getCurrentUser, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, hideDrawer, isAuthenticated, isDrawerVisible, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, rename, sendKeys, showDrawer, toggleActionMenu, toggleDrawer, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, viewChildren, watchDocument, watchSpace, watchWiki
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage
public static WYSIWYGEditPage gotoPage(String space, String page)
public String getContent()
content
of the page.public void setContent(String content)
content
- the content to be setpublic WYSIWYGEditPage waitUntilPageIsLoaded()
BasePage
waitUntilPageIsLoaded
in class BasePage
public WikiEditPage editWiki()
BasePage
public WYSIWYGEditPage editWYSIWYG()
BasePage
editWYSIWYG
in class BasePage
public <T extends InlinePage> T editInline()
BasePage
editInline
in class BasePage
public RightsEditPage editRights()
BasePage
editRights
in class BasePage
public ObjectEditPage editObjects()
BasePage
editObjects
in class BasePage
public ClassEditPage editClass()
BasePage
Copyright © 2004–2022 XWiki. All rights reserved.