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 void |
hoverElement(org.openqa.selenium.WebDriver webDriver,
com.atlassian.pageobjects.elements.PageElement pageElement) |
static com.google.common.base.Function<com.atlassian.pageobjects.elements.PageElement,com.atlassian.pageobjects.elements.query.TimedQuery<Boolean>> |
isPresent() |
static com.google.common.base.Supplier<Integer> |
numberOfWindows(org.openqa.selenium.WebDriver webDriver) |
static org.openqa.selenium.WebElement |
toWebElement(com.atlassian.pageobjects.elements.PageElement pageElement) |
@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()
public static com.google.common.base.Supplier<Integer> numberOfWindows(org.openqa.selenium.WebDriver webDriver)
public static org.openqa.selenium.WebElement toWebElement(com.atlassian.pageobjects.elements.PageElement pageElement)
public static void hoverElement(org.openqa.selenium.WebDriver webDriver, com.atlassian.pageobjects.elements.PageElement pageElement)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.