data class CallFunctionOnRequest
(source)
Represents request frame that can be used with Runtime.callFunctionOn method call.
Calls function with given declaration on the given object. Object group of the result is inherited from the target object.
CallFunctionOnRequest(objectId: RemoteObjectId, functionDeclaration: String, arguments: List<CallArgument>? = null, silent: Boolean? = null, returnByValue: Boolean? = null, generatePreview: Boolean? = null, userGesture: Boolean? = null, awaitPromise: Boolean? = null)
Represents request frame that can be used with Runtime.callFunctionOn method call. |
val arguments: List<CallArgument>?
Call arguments. All call arguments must belong to the same JavaScript world as the target object. |
|
val awaitPromise: Boolean?
Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error. |
|
val functionDeclaration: String
Declaration of the function to call. |
|
val generatePreview: Boolean?
Whether preview should be generated for the result. |
|
val objectId: RemoteObjectId
Identifier of the object to call function on. |
|
val returnByValue: Boolean?
Whether the result is expected to be a JSON object which should be sent by value. |
|
val silent: Boolean?
In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. |
|
val userGesture: Boolean?
Whether execution should be treated as initiated by user in the UI. |