interface Runtime.EvaluateParameterType
Properties #
#expression: string Expression to evaluate.
#objectGroup: string | undefined optional
Symbolic group name that can be used to release multiple objects.
#includeCommandLineAPI: boolean | undefined optional
Determines whether Command Line API should be available during the evaluation.
In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.
#contextId: ExecutionContextId | undefined optional
Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
#returnByValue: boolean | undefined optional
Whether the result is expected to be a JSON object that should be sent by value.
#generatePreview: boolean | undefined optional
Whether preview should be generated for the result.
#userGesture: boolean | undefined optional
Whether execution should be treated as initiated by user in the UI.
#awaitPromise: boolean | undefined optional
Whether execution should await for resulting value and return once awaited promise is resolved.