Class TextEditor
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
Component wrapper for the PrimeFaces
p:textEditor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears the entire text of the editor.org.openqa.selenium.WebElementFinds an returns the current contents of the editor.org.openqa.selenium.WebElementgetInput()The input element reference.org.openqa.selenium.WebElementvoidsetValue(Serializable value) Methods inherited from class org.primefaces.selenium.component.base.AbstractInputComponent
copyToClipboard, disable, enable, focus, getAssignedLabel, getAssignedLabelText, isEnabled, isOnchangeAjaxified, pasteFromClipboard, selectAllTextMethods inherited from class org.primefaces.selenium.component.base.AbstractComponent
destroy, getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxifiedMethods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openqa.selenium.TakesScreenshot
getScreenshotAsMethods inherited from interface org.openqa.selenium.WebElement
click, findElement, findElements, getAccessibleName, getAriaRole, getAttribute, getCssValue, getDomAttribute, getDomProperty, getLocation, getRect, getShadowRoot, getSize, getTagName, getText, isDisplayed, isSelected, sendKeys, submit
-
Constructor Details
-
TextEditor
public TextEditor()
-
-
Method Details
-
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
Finds an returns the current contents of the editor.- Returns:
- The current contents of the editor, as an HTML string.
-
setValue
-
clear
public void clear()Clears the entire text of the editor.- Specified by:
clearin interfaceorg.openqa.selenium.WebElement- Overrides:
clearin classAbstractInputComponent
-