chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.debugger / SetScriptSourceRequest

SetScriptSourceRequest

data class SetScriptSourceRequest

Request object containing input parameters for the DebuggerDomain.setScriptSource command.

Constructors

<init>

Request object containing input parameters for the DebuggerDomain.setScriptSource command.

SetScriptSourceRequest(scriptId: ScriptId, scriptSource: String, dryRun: Boolean? = null)

Properties

dryRun

If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code.

val dryRun: Boolean?

scriptId

Id of the script to edit.

val scriptId: ScriptId

scriptSource

New content of the script.

val scriptSource: String