Interface ComponentsAccessor

All Known Implementing Classes:
ComponentsManager

public interface ComponentsAccessor
Accessor interface to retrieve a component from it's selenium element.
  • Method Details

    • getComponents

      Set<Object> getComponents (org.openqa.selenium.WebElement element)
      Get the related components from the given element.
      Parameters:
      element - selenium element
      Returns:
      components wrapping the given selenium element
    • addComponentsListener

      boolean addComponentsListener (ComponentsListener listener)
      Add a component listener to be notified when a component is registered or unregistered.
      Parameters:
      listener - components listener
      Returns:
      true if listener is added
    • removeComponentsListener

      boolean removeComponentsListener (ComponentsListener listener)
      Remove a component listener.
      Parameters:
      listener - components listener to remove
      Returns:
      true if listener is removed