data class CompileScriptRequest
(source)
Represents request frame that can be used with Runtime#compileScript operation call.
Compiles expression.
Link
Runtime#compileScript method documentation.
See Also
RuntimeOperations.compileScript
CompileScriptRequest(expression: String, sourceURL: String, persistScript: Boolean, executionContextId: ExecutionContextId? = null)
Represents request frame that can be used with Runtime#compileScript operation call. |
val executionContextId: ExecutionContextId?
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. |
|
val expression: String
Expression to compile. |
|
val persistScript: Boolean
Specifies whether the compiled script should be persisted. |
|
val sourceURL: String
Source url to be set for the script. |