data class RunScriptRequest
(source)
Represents request frame that can be used with Runtime#runScript operation call.
Runs script with given id in a given context.
Link
Runtime#runScript method documentation.
See Also
RunScriptRequest(scriptId: ScriptId, executionContextId: ExecutionContextId? = null, objectGroup: String? = null, silent: Boolean? = null, includeCommandLineAPI: Boolean? = null, returnByValue: Boolean? = null, generatePreview: Boolean? = null, awaitPromise: Boolean? = null)
Represents request frame that can be used with Runtime#runScript operation call. |
val awaitPromise: Boolean?
Whether execution should |
|
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 generatePreview: Boolean?
Whether preview should be generated for the result. |
|
val includeCommandLineAPI: Boolean?
Determines whether Command Line API should be available during the evaluation. |
|
val objectGroup: String?
Symbolic group name that can be used to release multiple objects. |
|
val returnByValue: Boolean?
Whether the result is expected to be a JSON object which should be sent by value. |
|
val scriptId: ScriptId
Id of the script to run. |
|
val silent: Boolean?
In silent mode exceptions thrown during evaluation are not reported and do not pause
execution. Overrides |