Class RichTextAreaElement

  • All Implemented Interfaces:
    com.vaadin.testbench.commands.CanCompareScreenshots, com.vaadin.testbench.commands.CanWaitForVaadin, com.vaadin.testbench.commands.TestBenchElementCommands, com.vaadin.testbench.HasDriver, com.vaadin.testbench.HasSearchContext, com.vaadin.testbench.HasTestBenchCommandExecutor, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsElement

    public class RichTextAreaElement
    extends AbstractFieldElement
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void focus()  
      org.openqa.selenium.WebElement getEditorIframe()
      Gets the <iframe> element inside the component, containing the editor.
      String getValue()
      Return value of the field element.
      void setValue​(CharSequence chars)
      Set value of the field element.
      • Methods inherited from class com.vaadin.testbench.TestBenchElement

        clear, click, click, clickHiddenElement, compareScreen, compareScreen, compareScreen, contextClick, doubleClick, equals, findElement, findElements, getAccessibleName, getAriaRole, getAttribute, getCapabilities, getClassNames, getCommandExecutor, getContext, getCssValue, getDomAttribute, getDriver, getId, getLocation, getRect, getScreenshotAs, getShadowRoot, getSize, getTagName, getText, getWrappedElement, hasAttribute, hasClassName, hashCode, init, init, isChrome, isDisplayed, isEnabled, isFirefox, isFocused, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, showTooltip, submit, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElements
      • Methods inherited from class com.vaadin.testbench.AbstractHasTestBenchCommandExecutor

        $, $$, isElementPresent, isElementPresent
      • Methods inherited from interface org.openqa.selenium.WebElement

        getDomProperty
    • Constructor Detail

      • RichTextAreaElement

        public RichTextAreaElement()
    • Method Detail

      • getEditorIframe

        public org.openqa.selenium.WebElement getEditorIframe()
        Gets the <iframe> element inside the component, containing the editor.
        Returns:
        the iframe element containing the editor
        Since:
        8.1.1
      • getValue

        public String getValue()
        Return value of the field element.
        Returns:
        value of the field element
        Since:
        8.4
      • focus

        public void focus()
        Specified by:
        focus in interface com.vaadin.testbench.commands.TestBenchElementCommands
        Overrides:
        focus in class com.vaadin.testbench.TestBenchElement