Class TextEditor
-
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
public abstract class TextEditor extends InputText
Component wrapper for the PrimeFacesp:textEditor.
-
-
Constructor Summary
Constructors Constructor Description TextEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Clears the entire text of the editor.org.openqa.selenium.WebElementgetEditor()StringgetEditorValue()Finds an returns the current contents of the editor.org.openqa.selenium.WebElementgetInput()The input element reference.org.openqa.selenium.WebElementgetToolbar()voidsetValue(Serializable value)-
Methods inherited from class org.primefaces.selenium.component.base.AbstractInputComponent
copyToClipboard, disable, enable, getAssignedLabel, getAssignedLabelText, isEnabled, isOnchangeAjaxified, pasteFromClipboard, selectAllText
-
Methods inherited from class org.primefaces.selenium.component.base.AbstractComponent
getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxified
-
Methods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriver
-
-
-
-
Method Detail
-
getInput
public org.openqa.selenium.WebElement getInput()
Description copied from class:AbstractInputComponentThe input element reference.- Overrides:
getInputin classAbstractInputComponent- Returns:
- the
WebElementrepresenting the input.
-
getEditor
public org.openqa.selenium.WebElement getEditor()
-
getToolbar
public org.openqa.selenium.WebElement getToolbar()
-
getEditorValue
public String getEditorValue()
Finds an returns the current contents of the editor.- Returns:
- The current contents of the editor, as an HTML string.
-
setValue
public void setValue(Serializable value)
-
clear
public void clear()
Clears the entire text of the editor.- Specified by:
clearin interfaceorg.openqa.selenium.WebElement- Overrides:
clearin classAbstractInputComponent
-
-