|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PageElementFinder
Encapsulates functionality for finding instances and collections of
PageElement
on the tested pages, or parts of pages.
A finder is associated with some search scope - it will find elements within this scope (e.g. globally, or within
a parent page element).
| Method Summary | ||
|---|---|---|
PageElement |
find(org.openqa.selenium.By by)
Creates PageElement implementation
using the specified locator and default timeout. |
|
|
find(org.openqa.selenium.By by,
Class<T> elementClass)
Creates PageElement extension of type T using the specified
locator and default timeout. |
|
|
find(org.openqa.selenium.By by,
Class<T> elementClass,
TimeoutType timeoutType)
Creates PageElement extension of type T using the specified
locator and given timeoutType |
|
PageElement |
find(org.openqa.selenium.By by,
TimeoutType timeoutType)
Creates PageElement implementation
using the specified locator and given timeoutType. |
|
List<PageElement> |
findAll(org.openqa.selenium.By by)
Creates a PageElement for each element that matches the given locator
using default timeout. |
|
|
findAll(org.openqa.selenium.By by,
Class<T> elementClass)
Creates (@Link PageElement) extension of type T for each element that matches the given locator with default timeout |
|
|
findAll(org.openqa.selenium.By by,
Class<T> elementClass,
TimeoutType timeoutType)
Creates (@Link PageElement) extension of type T for each element that matches the given locator with timeoutType |
|
List<PageElement> |
findAll(org.openqa.selenium.By by,
TimeoutType timeoutType)
Creates a PageElement for each element that matches the given locator
using timeoutType. |
|
| Method Detail |
|---|
PageElement find(org.openqa.selenium.By by)
PageElement implementation
using the specified locator and default timeout.
by - Locator mechanism to use
PageElement find(org.openqa.selenium.By by,
TimeoutType timeoutType)
PageElement implementation
using the specified locator and given timeoutType.
by - Locator mechanism to usetimeoutType - timeout for the element's timed operations
List<PageElement> findAll(org.openqa.selenium.By by)
PageElement for each element that matches the given locator
using default timeout.
by - Locator mechanism to use
List<PageElement> findAll(org.openqa.selenium.By by,
TimeoutType timeoutType)
PageElement for each element that matches the given locator
using timeoutType.
by - Locator mechanism to usetimeoutType - timeout for the element's timed operations
<T extends PageElement> T find(org.openqa.selenium.By by,
Class<T> elementClass)
PageElement extension of type T using the specified
locator and default timeout.
by - Locator mechanism to useelementClass - The class of the element to create
<T extends PageElement> T find(org.openqa.selenium.By by,
Class<T> elementClass,
TimeoutType timeoutType)
PageElement extension of type T using the specified
locator and given timeoutType
by - Locator mechanism to useelementClass - The class of the element to createtimeoutType - timeout for the element's timed operations
<T extends PageElement> List<T> findAll(org.openqa.selenium.By by,
Class<T> elementClass)
by - Locator mechanism to useelementClass - The class of the element to create
<T extends PageElement> List<T> findAll(org.openqa.selenium.By by,
Class<T> elementClass,
TimeoutType timeoutType)
by - Locator mechanism to useelementClass - The class of the element to createtimeoutType - timeout for the element's timed operations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||