Class InjectionElementLocatorFactory

java.lang.Object
io.fluentlenium.core.inject.InjectionElementLocatorFactory
All Implemented Interfaces:
org.openqa.selenium.support.pagefactory.ElementLocatorFactory

public class InjectionElementLocatorFactory extends Object implements org.openqa.selenium.support.pagefactory.ElementLocatorFactory
ElementLocator factory used by FluentInjector.
  • Constructor Details

    • InjectionElementLocatorFactory

      public InjectionElementLocatorFactory (org.openqa.selenium.SearchContext searchContext, org.openqa.selenium.Capabilities capabilities)
      Creates a new factory
      Parameters:
      searchContext - search context
      capabilities - device capabilities
  • Method Details

    • createLocator

      public InjectionElementLocator createLocator (Field field)
      Specified by:
      createLocator in interface org.openqa.selenium.support.pagefactory.ElementLocatorFactory