Package org.jboss.arquillian.graphene
Class GrapheneRuntime
java.lang.Object
org.jboss.arquillian.graphene.GrapheneRuntime
Represents
Graphene utility class public interface methods.- Author:
- Lukas Fryc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclick(org.openqa.selenium.WebElement element) abstract <T> TcreatePageFragment(Class<T> clazz, org.openqa.selenium.WebElement root) abstract voiddoubleClick(org.openqa.selenium.WebElement element) static GrapheneRuntimeRetrieves current thread-local instance of the Graphene runtime.abstract <T> Tabstract <T> Tabstract <T> TguardAjax(T target) abstract <T> TguardHttp(T target) abstract <T> TguardNoRequest(T target) static GrapheneRuntimeReturns and removes current thread-local instance of the Graphene runtime from top of the stack of current instances.static voidpushInstance(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> TwaitForHttp(T target) abstract WebDriverWait<Void>waitGui()abstract WebDriverWait<Void>waitGui(org.openqa.selenium.WebDriver driver) abstract WebDriverWait<Void>abstract WebDriverWait<Void>waitModel(org.openqa.selenium.WebDriver driver) protected abstract voidwriteIntoElement(org.openqa.selenium.WebElement element, String text)
-
Constructor Details
-
GrapheneRuntime
public GrapheneRuntime()
-
-
Method Details
-
guardHttp
public abstract <T> T guardHttp(T target) - See Also:
-
guardNoRequest
public abstract <T> T guardNoRequest(T target) - See Also:
-
guardAjax
public abstract <T> T guardAjax(T target) - See Also:
-
waitForHttp
public abstract <T> T waitForHttp(T target) - See Also:
-
waitAjax
- See Also:
-
waitAjax
- See Also:
-
waitGui
- See Also:
-
waitGui
- See Also:
-
waitModel
- See Also:
-
waitModel
- See Also:
-
createPageFragment
-
goTo
- See Also:
-
goTo
- See Also:
-
getInstance
Retrieves current thread-local instance of the Graphene runtime. -
pushInstance
Set ups current thread-local instance of the Graphene runtime on top of stack of current instances. -
popInstance
Returns and removes current thread-local instance of the Graphene runtime from top of the stack of current instances. -
doubleClick
public abstract void doubleClick(org.openqa.selenium.WebElement element) - See Also:
-
click
public abstract void click(org.openqa.selenium.WebElement element) - See Also:
-
writeIntoElement
- See Also:
-
Graphene#writeIntoElement(WebElement)
-