Skip to main content

CALL_FUNCTION_ON

Constant CALL_FUNCTION_ON 

Source
pub const CALL_FUNCTION_ON: &str = "Runtime.callFunctionOn";
Expand description

Calls function with given declaration on the given object. Object group of the result is inherited from the target object.

Parameters:

  • functionDeclaration: string
  • objectId: RemoteObjectId (optional)
  • arguments: array (optional)
  • silent: boolean (optional)
  • returnByValue: boolean (optional)
  • generatePreview: boolean (optional)
  • userGesture: boolean (optional)
  • awaitPromise: boolean (optional)
  • executionContextId: ExecutionContextId (optional)
  • objectGroup: string (optional)
  • throwOnSideEffect: boolean (optional)
  • uniqueContextId: string (optional)
  • serializationOptions: SerializationOptions (optional)

Returns: result, exceptionDetails