Skip navigation links
Graphene: API 2.1.0.Final
A B C D E F G I J L M N O P R S T U V W 

A

attribute(String) - Method in interface org.jboss.arquillian.graphene.wait.ElementBuilder
Returns an attribute condition builder which can be used to formulate conditions related to the given attribute.
AttributeBuilder<FLUENT> - Interface in org.jboss.arquillian.graphene.wait
 

B

ByJQuery - Class in org.jboss.arquillian.graphene.findby
Allows to search for elements using jQuery selector location strategy.
ByJQuery(String) - Constructor for class org.jboss.arquillian.graphene.findby.ByJQuery
Instantiates new locator with given jQuery selector
ByJQuery.JQueryLocationStrategy - Class in org.jboss.arquillian.graphene.findby
Location strategy for searching for elements using jQuery selectors

C

clearFilters() - Method in interface org.jboss.arquillian.graphene.request.RequestGuard
Clear all filters defined by RequestGuard.filter(String).
clearRequestDone() - Method in interface org.jboss.arquillian.graphene.request.RequestGuard
Clears the request type cache and returns the last request type
commit(ACTION) - Method in interface org.jboss.arquillian.graphene.fluent.FluentBase
Closes the fluent definition and indicates that it can be applied.
commit(ACTION) - Method in interface org.jboss.arquillian.graphene.wait.WebDriverWait
 
contains(String) - Method in interface org.jboss.arquillian.graphene.wait.StringMatcher
Checks whether the text contains the given string.
createPageFragment(Class<T>, WebElement) - Static method in class org.jboss.arquillian.graphene.Graphene
Creates page fragment of given type with given element as a root.
createPageFragment(Class<T>, WebElement) - Method in class org.jboss.arquillian.graphene.GrapheneRuntime
 

D

Dependency - Annotation Type in org.jboss.arquillian.graphene.javascript
Links to JavaScript interface dependencies which needs to be loaded before interface's method can be invoked.

E

element(WebElement) - Method in interface org.jboss.arquillian.graphene.wait.FluentBuilder
Returns an element condition builder which can be used to formulate conditions related to the given element.
element(By) - Method in interface org.jboss.arquillian.graphene.wait.FluentBuilder
Returns an element condition factory which can be used to formulate conditions related to the element determined by the given locator.
element(SearchContext, By) - Method in interface org.jboss.arquillian.graphene.wait.FluentBuilder
Returns an element condition factory which can be used to formulate conditions related to the element determined by the given locator and search context.
ElementBuilder<FLUENT> - Interface in org.jboss.arquillian.graphene.wait
 
enabled() - Method in interface org.jboss.arquillian.graphene.wait.IsElementBuilder
 
equalTo(String) - Method in interface org.jboss.arquillian.graphene.wait.StringMatcher
Checks whether the text is equal to the given string.
equalToIgnoreCase(String) - Method in interface org.jboss.arquillian.graphene.wait.StringMatcher
Checks whether the text is equal to the given string ignoring case considerations.
execute(GrapheneContext, JSCall) - Method in interface org.jboss.arquillian.graphene.javascript.ExecutionResolver
 
ExecutionResolver - Interface in org.jboss.arquillian.graphene.javascript
Invokes JavaScript interface calls on a page under test.

F

filter(String) - Method in interface org.jboss.arquillian.graphene.request.RequestGuard
Specifies JavaScript implementation of filter, which declares what requests will be guarded.
FindByJQuery - Annotation Type in org.jboss.arquillian.graphene.findby
Alternative FindBy annotation for use in tests, pages and page fragments defining that given element should be located by jQuery Selector strategy.
findElement(SearchContext) - Method in class org.jboss.arquillian.graphene.findby.ByJQuery
 
findElement(By) - Method in interface org.jboss.arquillian.graphene.GrapheneElement
Overriden version of WebElement.findBy() method.
findElements(SearchContext) - Method in class org.jboss.arquillian.graphene.findby.ByJQuery
 
findGrapheneElements(By) - Method in interface org.jboss.arquillian.graphene.GrapheneElement
This method is alternative to WebElement.findElements(By), but it returns list of type GrapheneElement.
FluentBase<OUTER> - Interface in org.jboss.arquillian.graphene.fluent
A base for fluent APIs defined by Graphene
FluentBuilder<FLUENT> - Interface in org.jboss.arquillian.graphene.wait
 
FluentWait<ARG,FLUENT> - Interface in org.jboss.arquillian.graphene.wait
This interface is a replication of FluentWait.
fromAnnotation(Annotation) - Method in class org.jboss.arquillian.graphene.findby.ByJQuery.JQueryLocationStrategy
 

G

getArguments() - Method in class org.jboss.arquillian.graphene.javascript.JSCall
Returns arguments of the call
getConfiguration() - Method in class org.jboss.arquillian.graphene.context.GrapheneContext
Returns configuration for the context
getContextFor(Class<?>) - Static method in class org.jboss.arquillian.graphene.context.GrapheneContext
Get context associated to the given qualifier.
getInstance() - Static method in class org.jboss.arquillian.graphene.GrapheneRuntime
Retrieves current thread-local instance of the Graphene runtime.
getInterface() - Method in class org.jboss.arquillian.graphene.javascript.JSInterface
Returns the class which defines this instance of JavaScript interface
getJSInterfaceDependencies() - Method in class org.jboss.arquillian.graphene.javascript.JSInterface
Returns all JavaScript interfaces which are dependencies of this interface as specified by Dependency.interfaces().
getJSMethod(String, Object...) - Method in class org.jboss.arquillian.graphene.javascript.JSInterface
Retrieves JavaScript interface method with given name and arguments.
getMessage() - Method in exception org.jboss.arquillian.graphene.request.RequestGuardException
 
getMethod() - Method in class org.jboss.arquillian.graphene.javascript.JSCall
Returns a target JavaScript interface method
getMethod() - Method in class org.jboss.arquillian.graphene.javascript.JSMethod
Returns a target Method of given JavaScript interface
getName() - Method in class org.jboss.arquillian.graphene.javascript.JSInterface
Returns the name of defined JavaScript interface as specified by JavaScript annotation.
getName() - Method in class org.jboss.arquillian.graphene.javascript.JSMethod
Returns name of the method as diverged from name of the Java method or re-defined using MethodName annotation
getQualifier() - Method in class org.jboss.arquillian.graphene.context.GrapheneContext
 
getRequestDone() - Method in exception org.jboss.arquillian.graphene.request.RequestGuardException
Returns the RequestType which was actually done
getRequestExpected() - Method in exception org.jboss.arquillian.graphene.request.RequestGuardException
Returns the RequestType which was expected to be done
getRequestState() - Method in interface org.jboss.arquillian.graphene.request.RequestGuard
 
getRequestType() - Method in interface org.jboss.arquillian.graphene.request.RequestGuard
 
getResolver() - Method in class org.jboss.arquillian.graphene.javascript.JSInterface
Returns ExecutionResolver for this interface as specified by JavaScript.executionResolver().
getSourceDependencies() - Method in class org.jboss.arquillian.graphene.javascript.JSInterface
Returns all resources which are dependencies of this interface as specified by Dependency.sources().
getTarget() - Method in class org.jboss.arquillian.graphene.javascript.JSCall
Returns a target JavaSript interface
getTarget() - Method in class org.jboss.arquillian.graphene.javascript.JSMethod
Returns a target JavaSript interface
getWebDriver(Class<?>...) - Method in class org.jboss.arquillian.graphene.context.GrapheneContext
If the WebDriver instance is not available yet, the returned proxy just implements WebDriver interface.
goTo(Class<T>) - Static method in class org.jboss.arquillian.graphene.Graphene
Requests navigation to a page represented by given page object.
goTo(Class<T>, Class<?>) - Static method in class org.jboss.arquillian.graphene.Graphene
Requests navigation to a page represented by given page object.
goTo(Class<T>) - Method in class org.jboss.arquillian.graphene.GrapheneRuntime
 
goTo(Class<T>, Class<?>) - Method in class org.jboss.arquillian.graphene.GrapheneRuntime
 
Graphene - Class in org.jboss.arquillian.graphene
Graphene Utility Class The Graphene utility is entry point for concise Graphene syntax of operating with browser.
Graphene() - Constructor for class org.jboss.arquillian.graphene.Graphene
 
GrapheneContext - Class in org.jboss.arquillian.graphene.context
Allows to access current browser instance and configuration.
GrapheneContext() - Constructor for class org.jboss.arquillian.graphene.context.GrapheneContext
 
GrapheneElement - Interface in org.jboss.arquillian.graphene
Interface for Graphene extensions of WebElement.
GrapheneRuntime - Class in org.jboss.arquillian.graphene
Represents Graphene utility class public interface methods.
GrapheneRuntime() - Constructor for class org.jboss.arquillian.graphene.GrapheneRuntime
 
guardAjax(T) - Static method in class org.jboss.arquillian.graphene.Graphene
Returns the guarded object checking whether the Ajax (XHR) request is done during each method invocation.
guardAjax(T) - Method in class org.jboss.arquillian.graphene.GrapheneRuntime
 
guardHttp(T) - Static method in class org.jboss.arquillian.graphene.Graphene
Returns the guarded object checking whether the HTTP request is done during each object's method invocation.
guardHttp(T) - Method in class org.jboss.arquillian.graphene.GrapheneRuntime
 
guardNoRequest(T) - Static method in class org.jboss.arquillian.graphene.Graphene
Returns the guarded object checking that no request is done during each method invocation.
guardNoRequest(T) - Method in class org.jboss.arquillian.graphene.GrapheneRuntime
 

I

ignoreAll(Collection<Class<? extends K>>) - Method in interface org.jboss.arquillian.graphene.wait.FluentWait
Configures this instance to ignore specific types of exceptions while waiting for a condition.
ignoreAll(Collection<Class<? extends K>>) - Method in interface org.jboss.arquillian.graphene.wait.WebDriverWait
 
ignoring(Class<? extends Throwable>) - Method in interface org.jboss.arquillian.graphene.wait.FluentWait
 
ignoring(Class<? extends Throwable>, Class<? extends Throwable>) - Method in interface org.jboss.arquillian.graphene.wait.FluentWait
 
ignoring(Class<? extends Throwable>) - Method in interface org.jboss.arquillian.graphene.wait.WebDriverWait
 
ignoring(Class<? extends Throwable>, Class<? extends Throwable>) - Method in interface org.jboss.arquillian.graphene.wait.WebDriverWait
 
InFrame - Annotation Type in org.jboss.arquillian.graphene.page
Specifies that given element, page or page fragment is located inside the frame given by its name or ID or index.
InitialPage - Annotation Type in org.jboss.arquillian.graphene.page
Specifies that given page object should be opened before the test is executed.
install() - Method in interface org.jboss.arquillian.graphene.javascript.InstallableJavaScript
Installs the script into page
INSTALL_METHOD - Static variable in interface org.jboss.arquillian.graphene.javascript.InstallableJavaScript
 
InstallableJavaScript - Interface in org.jboss.arquillian.graphene.javascript
Marks scripts which needs to be installed before they can be used.
is() - Method in interface org.jboss.arquillian.graphene.wait.AttributeBuilder
Returns the condition builder for conditions with "is" prefix.
is() - Method in interface org.jboss.arquillian.graphene.wait.ElementBuilder
Returns a condition builder for conditions with "is" prefix.
IsAttributeBuilder<FLUENT> - Interface in org.jboss.arquillian.graphene.wait
 
IsElementBuilder<FLUENT> - Interface in org.jboss.arquillian.graphene.wait
 
isInstallable() - Method in class org.jboss.arquillian.graphene.javascript.JSInterface
Returns true if this interface is InstallableJavaScript.
IsNotAttributeBuilder<FLUENT> - Interface in org.jboss.arquillian.graphene.wait
 
IsNotElementBuilder<FLUENT> - Interface in org.jboss.arquillian.graphene.wait
 
isPresent() - Method in interface org.jboss.arquillian.graphene.GrapheneElement
Returns true if this element is present in the page Note: WebDriver generally does not need this method since their elements are traditionally returned by calls as SearchContext.findElement(By).

J

JavaScript - Annotation Type in org.jboss.arquillian.graphene.javascript
Interfaces or abstract classes annotated with this interface invokes a script on a page under test.
JavaScript.DefaultExecutionResolver - Interface in org.jboss.arquillian.graphene.javascript
 
JQueryLocationStrategy() - Constructor for class org.jboss.arquillian.graphene.findby.ByJQuery.JQueryLocationStrategy
 
JSCall - Class in org.jboss.arquillian.graphene.javascript
Represents a call of the method on JavaScript interface.
JSCall(JSMethod, Object[]) - Constructor for class org.jboss.arquillian.graphene.javascript.JSCall
 
JSInterface - Class in org.jboss.arquillian.graphene.javascript
Represents the JavaScript interface instance
JSInterface(Class<?>) - Constructor for class org.jboss.arquillian.graphene.javascript.JSInterface
 
JSMethod - Class in org.jboss.arquillian.graphene.javascript
Represents a method on JavaScript interface
JSMethod(JSInterface, Method) - Constructor for class org.jboss.arquillian.graphene.javascript.JSMethod
 

L

lastContext() - Static method in class org.jboss.arquillian.graphene.context.GrapheneContext
Returns last known context which has been access by a test
Location - Annotation Type in org.jboss.arquillian.graphene.page
Specifies location of the annotated Page Object, relative to the URL of an Arquillian deployment.

M

matches(String) - Method in interface org.jboss.arquillian.graphene.wait.StringMatcher
Checks whether the text matches to the given string.
MethodName - Annotation Type in org.jboss.arquillian.graphene.javascript
Allows to specify the name of a method as represented in JavaScript - serves in cases where the name of a method can't be simply converted and needs to be defined explicitly or in cases where you want to name the method in Java differently than in JavaScript.

N

Negatable<T> - Interface in org.jboss.arquillian.graphene.wait
 
not() - Method in interface org.jboss.arquillian.graphene.wait.Negatable
Negates all conditions produced by this condition builder.
NotStringMatcher<FLUENT> - Interface in org.jboss.arquillian.graphene.wait
 

O

org.jboss.arquillian.graphene - package org.jboss.arquillian.graphene
 
org.jboss.arquillian.graphene.context - package org.jboss.arquillian.graphene.context
 
org.jboss.arquillian.graphene.findby - package org.jboss.arquillian.graphene.findby
 
org.jboss.arquillian.graphene.fluent - package org.jboss.arquillian.graphene.fluent
 
org.jboss.arquillian.graphene.fragment - package org.jboss.arquillian.graphene.fragment
 
org.jboss.arquillian.graphene.javascript - package org.jboss.arquillian.graphene.javascript
 
org.jboss.arquillian.graphene.page - package org.jboss.arquillian.graphene.page
 
org.jboss.arquillian.graphene.request - package org.jboss.arquillian.graphene.request
 
org.jboss.arquillian.graphene.wait - package org.jboss.arquillian.graphene.wait
 

P

Page - Annotation Type in org.jboss.arquillian.graphene.page
This annotation marks the given object to be instantiated and injected as Page object public class LoginForm { @FindBy(css = ".login") WebElement login; @FindBy(css = ".password") WebElement password; @FindBy(css = ".confirmation") WebElement confirmation; public void login(String login, String password) { ... } } @RunWith(Arquillian.class) public class Test { @Page LoginForm loginForm; @Test public void test() { loginForm.login("login", "password"); } //or as a method parameter @Test public void test(@Page LoginForm loginFormParam) { loginFormParam.login("login", "password"); } }
pollingEvery(long, TimeUnit) - Method in interface org.jboss.arquillian.graphene.wait.FluentWait
Sets how often the condition should be evaluated.
pollingEvery(long, TimeUnit) - Method in interface org.jboss.arquillian.graphene.wait.WebDriverWait
 
popInstance() - Static method in class org.jboss.arquillian.graphene.GrapheneRuntime
Returns and removes current thread-local instance of the Graphene runtime from top of the stack of current instances.
present() - Method in interface org.jboss.arquillian.graphene.wait.IsAttributeBuilder
Checks whether the attribute is present.
present() - Method in interface org.jboss.arquillian.graphene.wait.IsElementBuilder
Checks whether the element is present.
pushInstance(GrapheneRuntime) - Static method in class org.jboss.arquillian.graphene.GrapheneRuntime
Set ups current thread-local instance of the Graphene runtime on top of stack of current instances.

R

removeContextFor(Class<?>) - Static method in class org.jboss.arquillian.graphene.context.GrapheneContext
Removes the context associated to the given qualifier.
RequestGuard - Interface in org.jboss.arquillian.graphene.request
Allows to manually retrieve information from Request Guard on a page.
RequestGuardException - Exception in org.jboss.arquillian.graphene.request
This exception determines that when interacting with browser using Selenium, the wrong request type was executed.
RequestGuardException(RequestType, RequestType) - Constructor for exception org.jboss.arquillian.graphene.request.RequestGuardException
 
RequestState - Enum in org.jboss.arquillian.graphene.request
Identifies the state of the current request
RequestType - Enum in org.jboss.arquillian.graphene.request
Types of request, which browser executes.
Root - Annotation Type in org.jboss.arquillian.graphene.fragment
This annotation marks the WebElement field where should be injected the root of the given fragment, given by @FindBy annotation on a injection point.

S

selected() - Method in interface org.jboss.arquillian.graphene.wait.IsElementBuilder
Checks whether the element is selected.
selector(String) - Static method in class org.jboss.arquillian.graphene.findby.ByJQuery
Instantiates new locator with given jQuery selector
setContextFor(GrapheneConfiguration, WebDriver, Class<?>) - Static method in class org.jboss.arquillian.graphene.context.GrapheneContext
Creates a new context for the given webdriver, configuration and qualifier.
setMaximumCallbackTimeout(int) - Method in interface org.jboss.arquillian.graphene.request.RequestGuard
Specifies maximum timeout (in miliseconds) for asynchronous scheduled callbacks which will be guarded (default: 50 ms).
StringMatcher<FLUENT> - Interface in org.jboss.arquillian.graphene.wait
 

T

text() - Method in interface org.jboss.arquillian.graphene.wait.ElementBuilder
Returns a string matcher for the text inside the element.
toString() - Method in class org.jboss.arquillian.graphene.findby.ByJQuery
 
toString() - Method in class org.jboss.arquillian.graphene.javascript.JSCall
 
toString() - Method in class org.jboss.arquillian.graphene.javascript.JSInterface
 
toString() - Method in class org.jboss.arquillian.graphene.javascript.JSMethod
 

U

until(Predicate<ARG>) - Method in interface org.jboss.arquillian.graphene.wait.FluentWait
Repeatedly applies this instance's input value to the given predicate until the timeout expires or the predicate evaluates to true.
until() - Method in interface org.jboss.arquillian.graphene.wait.FluentWait
Returns the fluent condition builder.
until(String) - Method in interface org.jboss.arquillian.graphene.wait.FluentWait
Returns the fluent condition builder.
until(Predicate<WebDriver>) - Method in interface org.jboss.arquillian.graphene.wait.WebDriverWait
 
until() - Method in interface org.jboss.arquillian.graphene.wait.WebDriverWait
 
until(String) - Method in interface org.jboss.arquillian.graphene.wait.WebDriverWait
 
until(Function<? super WebDriver, T>) - Method in interface org.jboss.arquillian.graphene.wait.WebDriverWait
 

V

value() - Method in interface org.jboss.arquillian.graphene.wait.ElementBuilder
Returns an attribute condition builder for 'value' attribute'
valueOf(String) - Static method in enum org.jboss.arquillian.graphene.request.RequestState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jboss.arquillian.graphene.request.RequestType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jboss.arquillian.graphene.request.RequestState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jboss.arquillian.graphene.request.RequestType
Returns an array containing the constants of this enum type, in the order they are declared.
visible() - Method in interface org.jboss.arquillian.graphene.wait.IsElementBuilder
Checks whether the element is visible.

W

waitAjax() - Static method in class org.jboss.arquillian.graphene.Graphene
Graphene.waitAjax() is entry point for fluent waiting API specification, e.g.: waitAjax().until().element(button).isVisible(); Graphene.waitAjax() guards regular AJAX actions - fast interaction with tested server.
waitAjax(WebDriver) - Static method in class org.jboss.arquillian.graphene.Graphene
Graphene.waitAjax() is entry point for fluent waiting API specification, e.g.: waitAjax(browser).until().element(button).isVisible(); Graphene.waitAjax() guards regular AJAX actions - fast interaction with tested server.
waitAjax() - Method in class org.jboss.arquillian.graphene.GrapheneRuntime
 
waitAjax(WebDriver) - Method in class org.jboss.arquillian.graphene.GrapheneRuntime
 
waitForHttp(T) - Static method in class org.jboss.arquillian.graphene.Graphene
Returns the guarded object checking that HTTP request has happen after any object's method invocation.
waitForHttp(T) - Method in class org.jboss.arquillian.graphene.GrapheneRuntime
 
waitGui() - Static method in class org.jboss.arquillian.graphene.Graphene
Graphene.waitGui() is entry point for fluent waiting API specification, e.g.: waitGui().until().element(popupPanel).isVisible(); Graphene.waitGui() guards fast GUI actions - very fast interactions without need to reach server or do any time-consuming computations.
waitGui(WebDriver) - Static method in class org.jboss.arquillian.graphene.Graphene
Graphene.waitGui(WebDriver) is entry point for fluent waiting API specification, e.g.: waitGui(browser).until().element(popupPanel).isVisible(); Graphene.waitGui(WebDriver) guards fast GUI actions - very fast interactions without need to reach server or do any time-consuming computations.
waitGui() - Method in class org.jboss.arquillian.graphene.GrapheneRuntime
 
waitGui(WebDriver) - Method in class org.jboss.arquillian.graphene.GrapheneRuntime
 
waitModel() - Static method in class org.jboss.arquillian.graphene.Graphene
Graphene.waitModel() is entry point for fluent waiting API specification, e.g.: waitModel().until().element(button).isVisible(); Graphene.waitModel() guards heavy computation or network-utilization interactions (typically server-side).
waitModel(WebDriver) - Static method in class org.jboss.arquillian.graphene.Graphene
Graphene.waitModel(WebDriver) is entry point for fluent waiting API specification, e.g.: waitModel(browser).until().element(button).isVisible(); Graphene.waitModel(WebDriver) guards heavy computation or network-utilization (typically server-side).
waitModel() - Method in class org.jboss.arquillian.graphene.GrapheneRuntime
 
waitModel(WebDriver) - Method in class org.jboss.arquillian.graphene.GrapheneRuntime
 
WebDriverWait<FLUENT> - Interface in org.jboss.arquillian.graphene.wait
 
withMessage(String) - Method in interface org.jboss.arquillian.graphene.wait.FluentWait
Sets the message to be displayed when time expires.
withMessage(String) - Method in interface org.jboss.arquillian.graphene.wait.WebDriverWait
 
withTimeout(long, TimeUnit) - Method in interface org.jboss.arquillian.graphene.wait.FluentWait
Sets how long to wait for the evaluated condition to be true.
withTimeout(long, TimeUnit) - Method in interface org.jboss.arquillian.graphene.wait.WebDriverWait
 
A B C D E F G I J L M N O P R S T U V W 
Skip navigation links
Graphene: API 2.1.0.Final

Copyright © 2016 JBoss by Red Hat. All rights reserved.