|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.pageobjects.utils.PageElementFunctions
public final class PageElementFunctions
Functions for easier handling of PageElement
s.
Method Summary | ||
---|---|---|
static
|
binder(Class<T> componentClass,
com.atlassian.pageobjects.PageBinder binder)
Deprecated. use binder(PageBinder, Class, Object...) |
|
static
|
binder(com.atlassian.pageobjects.PageBinder binder,
Class<T> componentClass,
Object... args)
Function creating page objects that are components wrapping around page elements. |
|
static com.google.common.base.Function<com.atlassian.pageobjects.elements.PageElement,String> |
getText()
|
|
static com.google.common.base.Function<com.atlassian.pageobjects.elements.PageElement,com.atlassian.pageobjects.elements.query.TimedQuery<Boolean>> |
isPresent()
|
|
static com.google.common.base.Predicate<com.atlassian.pageobjects.elements.PageElement> |
isSelected()
|
|
static com.google.common.base.Supplier<Integer> |
numberOfWindows(org.openqa.selenium.WebDriver webDriver)
|
|
static com.google.common.base.Function<com.atlassian.pageobjects.elements.Option,String> |
optionValue()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated public static <T> com.google.common.base.Function<com.atlassian.pageobjects.elements.PageElement,T> binder(Class<T> componentClass, com.atlassian.pageobjects.PageBinder binder)
binder(PageBinder, Class, Object...)
T
- type of the page objectcomponentClass
- class of the page object to instantiatebinder
- page binder
public static <T> com.google.common.base.Function<com.atlassian.pageobjects.elements.PageElement,T> binder(com.atlassian.pageobjects.PageBinder binder, Class<T> componentClass, Object... args)
T
- type of the page objectcomponentClass
- class of the page object to instantiatebinder
- page binder
public static com.google.common.base.Function<com.atlassian.pageobjects.elements.PageElement,com.atlassian.pageobjects.elements.query.TimedQuery<Boolean>> isPresent()
public static com.google.common.base.Function<com.atlassian.pageobjects.elements.PageElement,String> getText()
public static com.google.common.base.Function<com.atlassian.pageobjects.elements.Option,String> optionValue()
public static com.google.common.base.Supplier<Integer> numberOfWindows(org.openqa.selenium.WebDriver webDriver)
public static com.google.common.base.Predicate<com.atlassian.pageobjects.elements.PageElement> isSelected()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |