public class AtIndexElementLocator extends Object implements org.openqa.selenium.support.pagefactory.ElementLocator
ElementLocator retrieving a particular index element from another locator.| Modifier and Type | Field and Description |
|---|---|
protected org.openqa.selenium.support.pagefactory.ElementLocator |
listLocator |
| Constructor and Description |
|---|
AtIndexElementLocator(org.openqa.selenium.support.pagefactory.ElementLocator listLocator,
int index)
Creates a new at-index element locator.
|
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebElement |
findElement() |
List<org.openqa.selenium.WebElement> |
findElements() |
String |
toString() |
protected org.openqa.selenium.support.pagefactory.ElementLocator listLocator
public AtIndexElementLocator(org.openqa.selenium.support.pagefactory.ElementLocator listLocator,
int index)
listLocator - element list locatorindex - index to retrievepublic org.openqa.selenium.WebElement findElement()
findElement in interface org.openqa.selenium.support.pagefactory.ElementLocatorpublic List<org.openqa.selenium.WebElement> findElements()
findElements in interface org.openqa.selenium.support.pagefactory.ElementLocatorCopyright © 2016 FluentLenium. All Rights Reserved.