Interface Container

All Superinterfaces:
ByLocator
All Known Implementing Classes:
AbstractDetails, Accordion, Accordion.Panel, Details, TabSheet

public interface Container extends ByLocator
Interface for container web-elements wrappers that have a child web-elements.
  • Method Summary

    Modifier and Type
    Method
    Description
    default <C> C
    child(Class<C> childClazz, String... childPath)
     
    default <C> C
    child(Class<C> childClazz, org.openqa.selenium.By childBy)
     

    Methods inherited from interface io.jmix.masquerade.sys.ByLocator

    getBy
  • Method Details

    • child

      default <C> C child(Class<C> childClazz, String... childPath)
      Type Parameters:
      C - type of the child web-element wrapper class
      Parameters:
      childClazz - child web-element wrapper class
      childPath - path to find child web-element
      Returns:
      child web-element wrapper which was found by the passed UI_TEST_ID attribute values path
    • child

      default <C> C child(Class<C> childClazz, org.openqa.selenium.By childBy)
      Type Parameters:
      C - type of the child web-element wrapper class
      Parameters:
      childClazz - child web-element wrapper class
      childBy - By selector to find child web-element
      Returns:
      child web-element wrapper which was found by the passed By selector