public interface WiseQuery
| Modifier and Type | Method and Description |
|---|---|
<E> E |
findElement(Class<E> clazz,
org.openqa.selenium.By by)
Finds the first element within the current context using the given mechanism.
|
<E> List<E> |
findElements(Class<E> clazz,
org.openqa.selenium.By by)
Finds all elements within the current context using the given mechanism.
|
<E> E findElement(Class<E> clazz, org.openqa.selenium.By by)
E - The type of the element.clazz - The class of the element. Must be either WebElement or a type annotated with
Field, Container or Frame. Will lookup for its implementation class following
ClasspathUtil.findImplementationClass(Class) rules.by - The locating mechanism to use.<E> List<E> findElements(Class<E> clazz, org.openqa.selenium.By by)
E - The type of the elements.clazz - The class of the elements. Must be either WebElement or a type annotated with
Field, Container or Frame. Will lookup for its implementation class following
ClasspathUtil.findImplementationClass(Class) rules.by - The locating mechanism to use.Copyright © 2013. All Rights Reserved.