public class GlobalElementFinder extends Object implements PageElementFinder
PageElementFinder for the global search context (whole page).| Constructor and Description |
|---|
GlobalElementFinder() |
| 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 public PageElement find(@Nonnull org.openqa.selenium.By by)
PageElementFinderPageElement implementation
using the specified locator and default timeout.find in interface PageElementFinderby - Locator mechanism to use@Nonnull public PageElement find(@Nonnull org.openqa.selenium.By by, @Nonnull TimeoutType timeoutType)
PageElementFinderPageElement implementation
using the specified locator and given timeoutType.find in interface PageElementFinderby - Locator mechanism to usetimeoutType - timeout for the element's timed operations@Nonnull public <T extends PageElement> T find(@Nonnull org.openqa.selenium.By by, @Nonnull Class<T> elementClass)
PageElementFinderPageElement extension of type T using the specified
locator and default timeout.find in interface PageElementFinderby - Locator mechanism to useelementClass - The class of the element to create@Nonnull public <T extends PageElement> T find(@Nonnull org.openqa.selenium.By by, @Nonnull Class<T> elementClass, @Nonnull TimeoutType timeoutType)
PageElementFinderPageElement extension of type T using the specified
locator and given timeoutTypefind in interface PageElementFinderby - Locator mechanism to useelementClass - The class of the element to createtimeoutType - timeout for the element's timed operations@Nonnull public List<PageElement> findAll(@Nonnull org.openqa.selenium.By by)
PageElementFinderPageElement for each element that matches the given locator
using default timeout.findAll in interface PageElementFinderby - Locator mechanism to use@Nonnull public List<PageElement> findAll(@Nonnull org.openqa.selenium.By by, @Nonnull TimeoutType timeoutType)
PageElementFinderPageElement for each element that matches the given locator
using timeoutType.findAll in interface PageElementFinderby - Locator mechanism to usetimeoutType - timeout for the element's timed operations@Nonnull public <T extends PageElement> List<T> findAll(@Nonnull org.openqa.selenium.By by, @Nonnull Class<T> elementClass)
PageElementFinderfindAll in interface PageElementFinderby - Locator mechanism to useelementClass - The class of the element to create@Nonnull public <T extends PageElement> List<T> findAll(@Nonnull org.openqa.selenium.By by, @Nonnull Class<T> elementClass, @Nonnull TimeoutType timeoutType)
PageElementFinderfindAll in interface PageElementFinderby - Locator mechanism to useelementClass - The class of the element to createtimeoutType - timeout for the element's timed operationsCopyright © 2015 Atlassian. All rights reserved.