JBoss Community Archive (Read Only)

Graphene 2

Graphene Configuration

Graphene is configured using arquillian.xml or alternatively via system properties.

WebDriver Configuration

Graphene uses WebDriver directly and thus it can be configured via webdriver extension configuration.

Refer to Selenium 2 configuration options in Drone guide.

Graphene Configuration

Graphene specific configurations can be setup via arquillian.xml as well:

<extension qualifier="graphene">
   <property name="waitGuiInterval">3</property>
</extension>

Configuration Property

Description

Default Value

waitGuiInterval

timeout for Graphene.waitGui method - waits for a short time, typically waits for client-side operations

1 sec

waitAjaxInterval

timeout for waitAjax - waits for longer time, typically ajax request with no computational load

2 sec

waitModelInterval

timeout for waitModel - waits for a long time, typically database requests or other computationally hard operations

5 sec

waitGuardInterval

timeout for request guard methods

equals to waitAjaxInterval

defaultElementLocatingStrategy

default locating strategy when there is empty @FindBy over element

idOrName

javascriptInstallationLimit

timeout for installing JavaScript to the page via page extension mechanism

5 sec 

You can also configure Graphene via System Properties either from command line or pom.xml:

-Darq.extension.graphene.waitAjaxInterval=3
<build>
  <plugins>
    <plugin>
      <artifactId>maven-surefire-plugin</artifactId>
      <configuration>
        <systemProperties>
          <arq.extension.graphene.waitAjaxInterval>3</arq.extension.graphene.waitAjaxInterval>
        </systemProperties>
      </configuration>
    </plugin>
  </plugins>
</build>
JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-10 12:14:27 UTC, last content change 2013-10-30 13:33:08 UTC.