public interface SearchContext
| Modifier and Type | Method and Description |
|---|---|
WebElement |
findElement(By by)
Find the first
WebElement using the given method. |
List<WebElement> |
findElements(By by)
Find all elements within the current context using the given mechanism.
|
WebElement findElement(By by)
WebElement using the given method.by - The locating mechanismNoSuchElementException - If no matching elements are foundList<WebElement> findElements(By by)
by - The locating mechanism to useWebElements, or an empty list if nothing matchesByCopyright © 2014-2016 Machine Publishers, LLC and the jBrowserDriver contributors.
Project homepage: https://github.com/machinepublishers/jbrowserdriver