public final class WiseLocator extends Object
| Modifier and Type | Method and Description |
|---|---|
static <E> E |
findElement(Class<E> clazz,
org.openqa.selenium.By by,
org.openqa.selenium.SearchContext searchContext)
Finds the first element within the search context using the given mechanism.
|
static <E> List<E> |
findElements(Class<E> clazz,
org.openqa.selenium.By by,
org.openqa.selenium.SearchContext searchContext)
Finds all elements within the search context using the given mechanism.
|
public static <E> E findElement(Class<E> clazz, org.openqa.selenium.By by, org.openqa.selenium.SearchContext searchContext)
WiseQuery.findElement(Class, By) specification.E - The type of the element.clazz - The class of the element.by - The locating mechanism to use.searchContext - The search context.public static <E> List<E> findElements(Class<E> clazz, org.openqa.selenium.By by, org.openqa.selenium.SearchContext searchContext)
WiseQuery.findElements(Class, By) specification.E - The type of the elements.clazz - The class of the elements.by - The locating mechanism to use.searchContext - The search context.Copyright © 2013. All Rights Reserved.