Interface HookChainBuilder

All Known Implementing Classes:
DefaultHookChainBuilder

public interface HookChainBuilder
Builder of hook chains from element supplier, element locator supplier and hook definitions list.
  • Method Summary

    Modifier and Type
    Method
    Description
    build (Supplier<org.openqa.selenium.WebElement> elementSupplier, Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locator, Supplier<String> toStringSupplier, List<HookDefinition<?>> hooks)
    Build the hook chain.
  • Method Details

    • build

      List<FluentHook> build (Supplier<org.openqa.selenium.WebElement> elementSupplier, Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locator, Supplier<String> toStringSupplier, List<HookDefinition<?>> hooks)
      Build the hook chain.
      Parameters:
      elementSupplier - element supplier
      locator - element locator supplier
      toStringSupplier - element toString supplier
      hooks - list of hook definitions
      Returns:
      hook chain