org.xwiki.test.ui.po.editor.wysiwyg
Class EditorElement
java.lang.Object
org.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.editor.wysiwyg.EditorElement
public class EditorElement
- extends BaseElement
Models a WYSIWYG editor instance.
- Since:
- 3.2M3
- Version:
- $Id: 9807f4d1a8474a1921f7f2540f37b845ee4596a9 $
|
Constructor Summary |
EditorElement(String fieldId)
Creates a new instance that can be used to control the WYSIWYG editor that replaced the specified form field. |
| Methods inherited from class org.xwiki.test.ui.po.BaseElement |
executeJavascript, getDriver, getUtil, makeAlertDialogSilent, makeConfirmDialogSilent, makeElementVisible, makeElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilElementDisappears, waitUntilElementEndsWithAttributeValue, waitUntilElementHasAttributeValue, waitUntilElementHasTextContent, waitUntilElementIsVisible, waitUntilElementsAreVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditorElement
public EditorElement(String fieldId)
- Creates a new instance that can be used to control the WYSIWYG editor that replaced the specified form field.
- Parameters:
fieldId - the id of the text area field that was replaced by the WYSIWYG editor.
getRichTextArea
public RichTextAreaElement getRichTextArea()
- Returns:
- the rich text area
waitToLoad
public EditorElement waitToLoad()
- Waits for the WYSIWYG content editor to load.
getContainer
protected org.openqa.selenium.WebElement getContainer()
- Returns:
- the element that wraps the editor
Copyright © 2004-2013 XWiki. All Rights Reserved.