|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchContext
Method Summary | |
---|---|
WebElement |
findElement(By by)
Find the first WebElement using the given method. |
java.util.List<WebElement> |
findElements(By by)
Find all elements within the current context using the given mechanism. |
Method Detail |
---|
java.util.List<WebElement> findElements(By by)
by
- The locating mechanism to use
WebElement
s, or an empty list if nothing matchesBy
WebElement findElement(By by)
WebElement
using the given method.
by
- The locating mechanism
NoSuchElementException
- If no matching elements are found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |