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 Detail

      • TextEditor

        public TextEditor()
    • Method Detail

      • 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.
      • 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