Builder

class Builder(val scriptId: ScriptId)

A builder for RunScriptRequest, which allows setting the optional parameters of the RuntimeDomain.runScript command via a lambda.

Constructors

Link copied to clipboard
constructor(scriptId: ScriptId)

Properties

Link copied to clipboard

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

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

Whether preview should be generated for the result.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Id of the script to run.

Link copied to clipboard

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

Functions

Link copied to clipboard