Class AbstractComponentElement

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getCaption()
      Returns the caption of the Component element.
      String getHTML()  
      protected String getStyleAttribute​(org.openqa.selenium.WebElement element, String styleName)  
      boolean isReadOnly()  
      • Methods inherited from class com.vaadin.testbench.TestBenchElement

        clear, click, click, clickHiddenElement, compareScreen, compareScreen, compareScreen, contextClick, doubleClick, equals, findElement, findElements, focus, 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

      • AbstractComponentElement

        public AbstractComponentElement()
    • Method Detail

      • getCaption

        public String getCaption()
        Returns the caption of the Component element.
        Returns:
        component caption
        Since:
        8.0
      • getHTML

        public String getHTML()
      • isReadOnly

        public boolean isReadOnly()
        Overrides:
        isReadOnly in class com.vaadin.testbench.TestBenchElement
      • getStyleAttribute

        protected String getStyleAttribute​(org.openqa.selenium.WebElement element,
                                           String styleName)