Class AbstractLocatorAndInvocationHandler<T>

java.lang.Object
io.fluentlenium.core.proxy.AbstractLocatorHandler<T>
io.fluentlenium.core.proxy.AbstractLocatorAndInvocationHandler<T>
Type Parameters:
T - type of underlying element or component
All Implemented Interfaces:
InvocationHandler, LocatorHandler<T>, LocatorStatusHandler
Direct Known Subclasses:
ComponentHandler, ListHandler

public abstract class AbstractLocatorAndInvocationHandler<T> extends AbstractLocatorHandler<T> implements InvocationHandler
Abstract proxy handler supporting lazy loading and hooks on WebElement.

This class handles the actual method invocation on the proxy.

If you want to create your own custom component handler, this is the class that must be extended.

  • Constructor Details

    • AbstractLocatorAndInvocationHandler

      public AbstractLocatorAndInvocationHandler (org.openqa.selenium.support.pagefactory.ElementLocator locator)
      Creates a new locator handler.
      Parameters:
      locator - selenium element locator
  • Method Details