Class InjectionElementLocatorFactory

  • All Implemented Interfaces:
    org.openqa.selenium.support.pagefactory.ElementLocatorFactory

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

      • InjectionElementLocatorFactory

        public InjectionElementLocatorFactory​(org.openqa.selenium.SearchContext searchContext)
        Creates a new factory
        Parameters:
        searchContext - search context
    • Method Detail

      • createLocator

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