Package io.fluentlenium.core.inject
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 Summary
ConstructorDescriptionInjectionElementLocatorFactory
(org.openqa.selenium.SearchContext searchContext, org.openqa.selenium.Capabilities capabilities) Creates a new factory -
Method Summary
-
Constructor Details
-
InjectionElementLocatorFactory
public InjectionElementLocatorFactory(org.openqa.selenium.SearchContext searchContext, org.openqa.selenium.Capabilities capabilities) Creates a new factory- Parameters:
searchContext
- search contextcapabilities
- device capabilities
-
-
Method Details
-
createLocator
- Specified by:
createLocator
in interfaceorg.openqa.selenium.support.pagefactory.ElementLocatorFactory
-