public class ChainedElementLocatorFactory
extends java.lang.Object
implements org.openqa.selenium.support.pagefactory.ElementLocatorFactory
ElementLocatorFactory which use a ElementLocator instead of a
SearchContext.| Constructor and Description |
|---|
ChainedElementLocatorFactory(UniqueElementLocator elementLocator)
New instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.support.pagefactory.ElementLocator |
createLocator(java.lang.reflect.Field field) |
public ChainedElementLocatorFactory(UniqueElementLocator elementLocator)
elementLocator - ElementLocator which defines the
WebElement as base for a search.pos - the position which elements of the ElementLocator
should be used.Copyright © 2017 PPI AG. All rights reserved.