data class RunScriptRequest
Request object containing input parameters for the RuntimeDomain.runScript command.
<init> |
Request object containing input parameters for the RuntimeDomain.runScript command. RunScriptRequest(scriptId: ScriptId, executionContextId: ExecutionContextId? = null, objectGroup: String? = null, silent: Boolean? = null, includeCommandLineAPI: Boolean? = null, returnByValue: Boolean? = null, generatePreview: Boolean? = null, awaitPromise: Boolean? = null) |
awaitPromise |
Whether execution should val awaitPromise: Boolean? |
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 executionContextId: ExecutionContextId? |
generatePreview |
Whether preview should be generated for the result. val generatePreview: Boolean? |
includeCommandLineAPI |
Determines whether Command Line API should be available during the evaluation. val includeCommandLineAPI: Boolean? |
objectGroup |
Symbolic group name that can be used to release multiple objects. val objectGroup: String? |
returnByValue |
Whether the result is expected to be a JSON object which should be sent by value. val returnByValue: Boolean? |
scriptId |
Id of the script to run. val scriptId: ScriptId |
silent |
In silent mode exceptions thrown during evaluation are not reported and do not pause
execution. Overrides val silent: Boolean? |