@PublicApi
public interface PageElementFinder
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).| Modifier and Type | Method and Description |
|---|---|
PageElement |
find(org.openqa.selenium.By by)
Creates
PageElement implementation
using the specified locator and default timeout. |
<T extends PageElement> |
find(org.openqa.selenium.By by,
Class<T> elementClass)
Creates
PageElement extension of type T using the specified
locator and default timeout. |
<T extends PageElement> |
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. |
<T extends PageElement> |
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
|
<T extends PageElement> |
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. |
@Nonnull PageElement find(@Nonnull org.openqa.selenium.By by)
PageElement implementation
using the specified locator and default timeout.by - Locator mechanism to use@Nonnull PageElement find(@Nonnull org.openqa.selenium.By by, @Nonnull TimeoutType timeoutType)
PageElement implementation
using the specified locator and given timeoutType.by - Locator mechanism to usetimeoutType - timeout for the element's timed operations@Nonnull List<PageElement> findAll(@Nonnull org.openqa.selenium.By by)
PageElement for each element that matches the given locator
using default timeout.by - Locator mechanism to use@Nonnull List<PageElement> findAll(@Nonnull org.openqa.selenium.By by, @Nonnull 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@Nonnull <T extends PageElement> T find(@Nonnull org.openqa.selenium.By by, @Nonnull 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@Nonnull <T extends PageElement> T find(@Nonnull org.openqa.selenium.By by, @Nonnull Class<T> elementClass, @Nonnull TimeoutType timeoutType)
PageElement extension of type T using the specified
locator and given timeoutTypeby - Locator mechanism to useelementClass - The class of the element to createtimeoutType - timeout for the element's timed operations@Nonnull <T extends PageElement> List<T> findAll(@Nonnull org.openqa.selenium.By by, @Nonnull Class<T> elementClass)
by - Locator mechanism to useelementClass - The class of the element to create@Nonnull <T extends PageElement> List<T> findAll(@Nonnull org.openqa.selenium.By by, @Nonnull Class<T> elementClass, @Nonnull TimeoutType timeoutType)
by - Locator mechanism to useelementClass - The class of the element to createtimeoutType - timeout for the element's timed operationsCopyright © 2015 Atlassian. All rights reserved.