CompileScriptParameter

@Serializable
data class CompileScriptParameter(val expression: String, val sourceURL: String, val persistScript: Boolean, val executionContextId: Int? = null)

Constructors

Link copied to clipboard
constructor(expression: String, sourceURL: String, persistScript: Boolean, executionContextId: Int? = null)

Properties

Link copied to clipboard
val executionContextId: Int? = null

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

Expression to compile.

Link copied to clipboard

Specifies whether the compiled script should be persisted.

Link copied to clipboard

Source url to be set for the script.