data class CallFunctionOnRequest
Request object containing input parameters for the RuntimeDomain.callFunctionOn command.
<init> |
Request object containing input parameters for the RuntimeDomain.callFunctionOn command. CallFunctionOnRequest(functionDeclaration: String, objectId: RemoteObjectId? = null, arguments: List<CallArgument>? = null, silent: Boolean? = null, returnByValue: Boolean? = null, generatePreview: Boolean? = null, userGesture: Boolean? = null, awaitPromise: Boolean? = null, executionContextId: ExecutionContextId? = null, objectGroup: String? = null) |
arguments |
Call arguments. All call arguments must belong to the same JavaScript world as the target object. val arguments: List<CallArgument>? |
awaitPromise |
Whether execution should val awaitPromise: Boolean? |
executionContextId |
Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified. val executionContextId: ExecutionContextId? |
functionDeclaration |
Declaration of the function to call. val functionDeclaration: String |
generatePreview |
Whether preview should be generated for the result. val generatePreview: Boolean? |
objectGroup |
Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object. val objectGroup: String? |
objectId |
Identifier of the object to call function on. Either objectId or executionContextId should be specified. val objectId: RemoteObjectId? |
returnByValue |
Whether the result is expected to be a JSON object which should be sent by value. val returnByValue: Boolean? |
silent |
In silent mode exceptions thrown during evaluation are not reported and do not pause
execution. Overrides val silent: Boolean? |
userGesture |
Whether execution should be treated as initiated by user in the UI. val userGesture: Boolean? |