RunScriptParameterType

sealed external interface RunScriptParameterType(source)

Properties

Link copied to clipboard
abstract var awaitPromise: Boolean?

Whether execution should await for resulting value and return once awaited promise is resolved.

Link copied to clipboard

Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.

Link copied to clipboard
abstract var generatePreview: Boolean?

Whether preview should be generated for the result.

Link copied to clipboard

Determines whether Command Line API should be available during the evaluation.

Link copied to clipboard
abstract var objectGroup: String?

Symbolic group name that can be used to release multiple objects.

Link copied to clipboard
abstract var returnByValue: Boolean?

Whether the result is expected to be a JSON object which should be sent by value.

Link copied to clipboard
abstract var scriptId: ScriptId

Id of the script to run.

Link copied to clipboard
abstract var silent: Boolean?

In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.