Constructor and Description |
---|
GrapheneRuntime() |
Modifier and Type | Method and Description |
---|---|
abstract <T> T |
createPageFragment(Class<T> clazz,
org.openqa.selenium.WebElement root) |
static GrapheneRuntime |
getInstance()
Retrieves current thread-local instance of the Graphene runtime.
|
abstract <T> T |
goTo(Class<T> clazz) |
abstract <T> T |
goTo(Class<T> pageObject,
Class<?> browserQualifier) |
abstract <T> T |
guardAjax(T target) |
abstract <T> T |
guardHttp(T target) |
abstract <T> T |
guardNoRequest(T target) |
static GrapheneRuntime |
popInstance()
Returns and removes current thread-local instance of the Graphene runtime from top of the stack of current instances.
|
static void |
pushInstance(GrapheneRuntime grapheneRuntime)
Set ups current thread-local instance of the Graphene runtime on top of stack of current instances.
|
abstract WebDriverWait<Void> |
waitAjax() |
abstract WebDriverWait<Void> |
waitAjax(org.openqa.selenium.WebDriver driver) |
abstract <T> T |
waitForHttp(T target) |
abstract WebDriverWait<Void> |
waitGui() |
abstract WebDriverWait<Void> |
waitGui(org.openqa.selenium.WebDriver driver) |
abstract WebDriverWait<Void> |
waitModel() |
abstract WebDriverWait<Void> |
waitModel(org.openqa.selenium.WebDriver driver) |
public abstract <T> T guardHttp(T target)
Graphene.guardHttp(Object)
public abstract <T> T guardNoRequest(T target)
Graphene.guardNoRequest(Object)
public abstract <T> T guardAjax(T target)
Graphene.guardAjax(Object)
public abstract <T> T waitForHttp(T target)
Graphene.waitForHttp(Object)
public abstract WebDriverWait<Void> waitAjax()
Graphene.waitAjax()
public abstract WebDriverWait<Void> waitAjax(org.openqa.selenium.WebDriver driver)
Graphene.waitAjax(WebDriver)
public abstract WebDriverWait<Void> waitGui()
Graphene.waitGui()
public abstract WebDriverWait<Void> waitGui(org.openqa.selenium.WebDriver driver)
Graphene.waitGui(WebDriver)
public abstract WebDriverWait<Void> waitModel()
Graphene.waitModel()
public abstract WebDriverWait<Void> waitModel(org.openqa.selenium.WebDriver driver)
Graphene.waitModel(WebDriver)
public abstract <T> T createPageFragment(Class<T> clazz, org.openqa.selenium.WebElement root)
public abstract <T> T goTo(Class<T> clazz)
Graphene.goTo(Class)
public abstract <T> T goTo(Class<T> pageObject, Class<?> browserQualifier)
Graphene.goTo(Class, Class)
public static GrapheneRuntime getInstance()
public static void pushInstance(GrapheneRuntime grapheneRuntime)
public static GrapheneRuntime popInstance()
Copyright © 2016 JBoss by Red Hat. All rights reserved.