
public class DefaultGrapheneRuntime extends GrapheneRuntime
| Constructor and Description |
|---|
DefaultGrapheneRuntime() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createPageFragment(Class<T> clazz,
org.openqa.selenium.WebElement root) |
<T> T |
goTo(Class<T> clazz) |
<T> T |
goTo(Class<T> pageObject,
Class<?> browserQualifier) |
<T> T |
guardAjax(T target)
Returns the guarded object checking whether the Ajax (XHR) request is done during
each method invocation.
|
<T> T |
guardHttp(T target)
Returns the guarded object checking whether the HTTP request is done during
each method invocation.
|
<T> T |
guardNoRequest(T target)
Returns the guarded object checking that no request is done during
each method invocation.
|
WebDriverWait<Void> |
waitAjax() |
WebDriverWait<Void> |
waitAjax(org.openqa.selenium.WebDriver driver) |
<T> T |
waitForHttp(T target) |
WebDriverWait<Void> |
waitGui() |
WebDriverWait<Void> |
waitGui(org.openqa.selenium.WebDriver driver) |
WebDriverWait<Void> |
waitModel() |
WebDriverWait<Void> |
waitModel(org.openqa.selenium.WebDriver driver) |
getInstance, popInstance, pushInstancepublic <T> T guardHttp(T target)
RequestGuardException is thrown.guardHttp in class GrapheneRuntimeT - type of the given targettarget - object to be guardedpublic <T> T guardNoRequest(T target)
RequestGuardException is thrown.guardNoRequest in class GrapheneRuntimeT - type of the given targettarget - object to be guardedpublic <T> T guardAjax(T target)
RequestGuardException is thrown.guardAjax in class GrapheneRuntimeT - type of the given targettarget - object to be guardedpublic <T> T waitForHttp(T target)
waitForHttp in class GrapheneRuntimepublic WebDriverWait<Void> waitAjax()
waitAjax in class GrapheneRuntimepublic WebDriverWait<Void> waitAjax(org.openqa.selenium.WebDriver driver)
waitAjax in class GrapheneRuntimepublic WebDriverWait<Void> waitGui()
waitGui in class GrapheneRuntimepublic WebDriverWait<Void> waitGui(org.openqa.selenium.WebDriver driver)
waitGui in class GrapheneRuntimepublic WebDriverWait<Void> waitModel()
waitModel in class GrapheneRuntimepublic WebDriverWait<Void> waitModel(org.openqa.selenium.WebDriver driver)
waitModel in class GrapheneRuntimepublic <T> T createPageFragment(Class<T> clazz, org.openqa.selenium.WebElement root)
createPageFragment in class GrapheneRuntimepublic <T> T goTo(Class<T> clazz)
goTo in class GrapheneRuntimepublic <T> T goTo(Class<T> pageObject, Class<?> browserQualifier)
goTo in class GrapheneRuntimeCopyright © 2016 JBoss by Red Hat. All rights reserved.