public class RelativeElementFinder extends ElementFinder
| Constructor and Description |
|---|
RelativeElementFinder(ILocalizedLogger localizedLogger,
IConditionalWait conditionalWait,
Supplier<org.openqa.selenium.SearchContext> searchContextSupplier) |
| Modifier and Type | Method and Description |
|---|---|
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By locator,
DesiredState desiredState,
Duration timeout)
Finds elements in state defined by
DesiredState. |
handleTimeoutException, tryToFindElementsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindElement, findElement, findElement, findElement, findElement, findElement, findElements, findElements, findElements, findElements, findElements, findElements, findElements, resolveStatepublic RelativeElementFinder(ILocalizedLogger localizedLogger, IConditionalWait conditionalWait, Supplier<org.openqa.selenium.SearchContext> searchContextSupplier)
public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By locator, DesiredState desiredState, Duration timeout)
IElementFinderDesiredState.findElements in interface IElementFinderfindElements in class ElementFinderlocator - elements locatordesiredState - object with predicate to define element statetimeout - timeout for searchCopyright © 2020. All rights reserved.