public class DefaultExecutionResolver extends Object implements ExecutionResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
CALL |
static String |
FUNCTION |
protected static Logger |
LOGGER |
| Constructor and Description |
|---|
DefaultExecutionResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
castArguments(Object[] arguments) |
protected Object |
castEnumToString(Object enumValue) |
protected Object |
castResult(JSCall call,
Object returnValue) |
protected Object |
castStringToEnum(Class<?> returnType,
Object returnValue) |
Object |
execute(org.openqa.selenium.WebDriver driver,
JSCall call) |
protected Object |
executeScriptForCall(JSCall call) |
protected <T> void |
registerExtension(JSTarget target) |
protected String |
resolveScriptToExecute(JSCall call) |
public static final String FUNCTION
public static final String CALL
protected static final Logger LOGGER
public Object execute(org.openqa.selenium.WebDriver driver, JSCall call)
execute in interface ExecutionResolverprotected <T> void registerExtension(JSTarget target)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.