Skip to main content

RunScriptParameterType

interface Runtime.RunScriptParameterType

Properties Jump to heading

Id of the script to run.

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.

optional
Jump to headingobjectGroup: string | undefined

Symbolic group name that can be used to release multiple objects.

optional
Jump to headingsilent: boolean | undefined

In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.

optional
Jump to headingincludeCommandLineAPI: boolean | undefined

Determines whether Command Line API should be available during the evaluation.

optional
Jump to headingreturnByValue: boolean | undefined

Whether the result is expected to be a JSON object which should be sent by value.

optional
Jump to headinggeneratePreview: boolean | undefined

Whether preview should be generated for the result.

optional
Jump to headingawaitPromise: boolean | undefined

Whether execution should await for resulting value and return once awaited promise is resolved.

Back to top