
public class ClientMethodsFactory extends Object
JavascriptExecutor.executeAsyncScript(String, Object...) in
both the Java/Test and Java/Gwt/Client code in terms of arguments passed,
expect for primitives, which must be a string (unless returning them from
jsni, in which case it should be treated as a long/Long as per
executeAsyncScript) from the client, and will be returned as a int/double/
boolean into code.| Constructor and Description |
|---|
ClientMethodsFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ClientMethods> |
create(Class<T> type,
WebDriver driver)
Creates an instance of the ClientMethods type on the first available module.
|
static <T extends ClientMethods> |
create(Class<T> type,
WebDriver driver,
String moduleName)
Creates an instance of the ClientMethods type on the given module name.
|
public static <T extends ClientMethods> T create(Class<T> type, WebDriver driver)
type - driver - public static <T extends ClientMethods> T create(Class<T> type, WebDriver driver, String moduleName)
type - driver - moduleName - Copyright © 2012-2013 Sencha Labs. All Rights Reserved.