Package io.fluentlenium.core.hook
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 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 supplierlocator
- element locator suppliertoStringSupplier
- element toString supplierhooks
- list of hook definitions- Returns:
- hook chain
-