Class Composite<T>

Type Parameters:
T - type of class
All Implemented Interfaces:
SpecificConditionHandler, ByLocator, SelenideElementWrapper<T>
Direct Known Subclasses:
DialogWindow, Notification, View

public abstract class Composite<T> extends AbstractSpecificConditionHandler<T> implements ByLocator
Abstract class for composite UI components: layouts, views, etc.
  • Field Details

    • wrappedElement

      protected com.codeborne.selenide.SelenideElement wrappedElement
    • by

      protected org.openqa.selenium.By by
  • Constructor Details

    • Composite

      public Composite()
  • Method Details

    • getDelegate

      public com.codeborne.selenide.SelenideElement getDelegate()
      Specified by:
      getDelegate in interface SelenideElementWrapper<T>
      Returns:
      original wrapped SelenideElement
    • getBy

      public org.openqa.selenium.By getBy()
      Specified by:
      getBy in interface ByLocator
      Returns:
      By selector by which the current web-element can be found