T - type what we want to iterate over - this type will be returned by method provided by this interfacepublic interface IterableLocator<T extends IterableLocator<T>> extends ElementLocator<T>, Iterable<T>
| Modifier and Type | Method and Description |
|---|---|
T |
get(int index)
Gets the index-th occurrence of this locator
|
Iterator<T> |
iterator()
Returns the iterator through the occurrences of this locator
|
int |
size()
Returns the count of occurrences of this locator
|
format, getAttribute, getLocationStrategygetRawLocatorinSeleniumRepresentationT get(int index)
index - the index of occurrence of this locatorIterator<T> iterator()
iterator in interface Iterable<T extends IterableLocator<T>>int size()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.