Compile Script Request
@Serializable
Request object containing input parameters for the RuntimeDomain.compileScript command.
Constructors
Link copied to clipboard
constructor(expression: String, sourceURL: String, persistScript: Boolean, executionContextId: ExecutionContextId? = null)
Types
Link copied to clipboard
A builder for CompileScriptRequest, which allows setting the optional parameters of the RuntimeDomain.compileScript command via a lambda.
Properties
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
Expression to compile.
Link copied to clipboard
Specifies whether the compiled script should be persisted.