Class DefaultExecutionResolver
java.lang.Object
org.jboss.arquillian.graphene.javascript.DefaultExecutionResolver
- All Implemented Interfaces:
ExecutionResolver,JavaScript.DefaultExecutionResolver
public class DefaultExecutionResolver
extends Object
implements ExecutionResolver, JavaScript.DefaultExecutionResolver
This resolver uses page extension mechanism to install needed JavaScript
and other required extensions.
- Author:
- Jan Papousek
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Object[]castArguments(Object[] arguments) protected ObjectcastEnumToString(Object enumValue) protected ObjectcastResult(JSCall call, Object returnValue) protected ObjectcastStringToEnum(Class<?> returnType, Object returnValue) execute(GrapheneContext context, JSCall call) protected ObjectexecuteScriptForCall(org.openqa.selenium.JavascriptExecutor executor, JSCall call) protected <T> voidregisterExtension(PageExtensionRegistry registry, JSInterface target) protected StringresolveScriptToExecute(JSCall call)
-
Field Details
-
FUNCTION
-
CALL
- See Also:
-
LOGGER
-
-
Constructor Details
-
DefaultExecutionResolver
public DefaultExecutionResolver()
-
-
Method Details
-
execute
- Specified by:
executein interfaceExecutionResolver
-
castArguments
-
castResult
-
castEnumToString
-
castStringToEnum
-
executeScriptForCall
-
resolveScriptToExecute
-
registerExtension
-