Class BaseFluentHook<T>

    • Constructor Detail

      • BaseFluentHook

        public BaseFluentHook​(FluentControl control,
                              ComponentInstantiator instantiator,
                              java.util.function.Supplier<org.openqa.selenium.WebElement> elementSupplier,
                              java.util.function.Supplier<org.openqa.selenium.support.pagefactory.ElementLocator> locatorSupplier,
                              java.util.function.Supplier<java.lang.String> toStringSupplier,
                              T options)
        create a new base fluent hook.
        Parameters:
        control - control interface
        instantiator - component instantiator
        elementSupplier - element supplier
        locatorSupplier - element locator supplier
        toStringSupplier - element toString supplier
        options - hook options
    • Method Detail

      • getFluentWebElement

        public FluentWebElement getFluentWebElement()
        Get the underlying element as a FluentWebElement.
        Returns:
        underlying element as a FluentWebElement