| Package | Description |
|---|---|
| org.jboss.arquillian.ajocado.framework | |
| org.jboss.arquillian.ajocado.javascript |
| Modifier and Type | Method and Description |
|---|---|
void |
TypedSelenium.addLocationStrategy(ElementLocationStrategy strategyName,
JavaScript functionDefinition)
Defines a new function for Selenium to locate elements on the page.
|
void |
TypedSelenium.addScript(JavaScript javaScript)
Loads script content into a new script tag in the Selenium document.
|
boolean |
TypedSelenium.containsScript(JavaScript javaScript)
Checks whenever the script is already added.
|
String |
TypedSelenium.getEval(JavaScript script)
Gets the result of evaluating the specified JavaScript snippet.
|
void |
TypedSelenium.removeScript(JavaScript javaScript)
Removes a script tag from the Selenium document identified by the JavaScript's id (see
getIdentification(). |
void |
TypedSelenium.runScript(JavaScript script)
Creates a new "script" tag in the body of the current test window, and adds the specified text into the body of
the command.
|
void |
TypedSelenium.waitForCondition(JavaScript script)
Runs the specified JavaScript snippet repeatedly until it evaluates to "true".
|
void |
TypedSelenium.waitForCondition(JavaScript script,
long timeout)
Runs the specified JavaScript snippet repeatedly until it evaluates to "true".
|
| Modifier and Type | Method and Description |
|---|---|
JavaScript |
JavaScript.append(String javaScriptPartToAppend)
Append the JavaScript part to end of the this JavaScript
|
static JavaScript |
JavaScript.fromFile(File sourceFile)
Loads the JavaScript from file.
|
static JavaScript |
JavaScript.fromResource(String resourceName)
Loads the JavaScript from classpath resource.
|
JavaScript |
JavaScript.join(JavaScript javaScriptToJoin)
Joins this JavaScript object with another JavaScript object to single JavaScript.
|
static JavaScript |
JavaScript.js(String javaScript)
The factory method for JavaScript object
|
JavaScript |
JavaScript.parametrize(Object... parameters)
Fills the parameters to placeholders in simplified format (look for Simplified format) to this JavaScript code
and returns the result.
|
| Modifier and Type | Method and Description |
|---|---|
JavaScript |
JavaScript.join(JavaScript javaScriptToJoin)
Joins this JavaScript object with another JavaScript object to single JavaScript.
|
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.