You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.avatar.testbench.

Class AvatarElement

java.lang.Object
com.vaadin.testbench.TestBenchElement
com.vaadin.flow.component.avatar.testbench.AvatarElement

All Implemented Interfaces:

CanCompareScreenshots, HasCallFunction, HasDriver, HasElementQuery, HasPropertySettersGetters, HasSearchContext, HasTestBenchCommandExecutor, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsElement

public class AvatarElement extends TestBenchElement

A TestBench element representing a <vaadin-avatar> element.

  • Constructor Details

    • AvatarElement

      public AvatarElement()
  • Method Details

    • isEnabled

      public boolean isEnabled()

      Description copied from class: TestBenchElement

      Returns whether the Vaadin component, that this element represents, is enabled or not.

      Specified by:

      isEnabled in interface org.openqa.selenium.WebElement

      Overrides:

      isEnabled in class TestBenchElement

      Returns:

      true if the component is enabled.

    • getTitle

      public String getTitle()

      Gets the title displayed as a tooltip.

      Returns:

      the tooltip text

    • getAbbr

      public String getAbbr()

      Gets the abbreviation displayed in the avatar.

      Returns:

      the abbreviation