public final class PageElementFunctions extends Object
PageElement
s.Modifier and Type | Method and Description |
---|---|
static <T> com.google.common.base.Function<com.atlassian.pageobjects.elements.PageElement,T> |
binder(Class<T> componentClass,
com.atlassian.pageobjects.PageBinder binder)
Deprecated.
|
static <T> com.google.common.base.Function<com.atlassian.pageobjects.elements.PageElement,T> |
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()
Deprecated.
since 5.10, use PageElement::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()
Deprecated.
since 5.10, use PageElement::getText
|
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() |
@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 binderpublic 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 binderpublic static com.google.common.base.Function<com.atlassian.pageobjects.elements.PageElement,com.atlassian.pageobjects.elements.query.TimedQuery<Boolean>> isPresent()
@Deprecated 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)
@Deprecated public static com.google.common.base.Predicate<com.atlassian.pageobjects.elements.PageElement> isSelected()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.