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 PrimeFaces p:textEditor.
  • Constructor Details

    • TextEditor

      public TextEditor()
  • Method Details

    • getInput

      public org.openqa.selenium.WebElement getInput()
      Description copied from class: AbstractInputComponent
      The input element reference.
      Overrides:
      getInput in class AbstractInputComponent
      Returns:
      the WebElement representing 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)
      Overrides:
      setValue in class InputText
    • clear

      public void clear()
      Clears the entire text of the editor.
      Specified by:
      clear in interface org.openqa.selenium.WebElement
      Overrides:
      clear in class AbstractInputComponent