pl.wendigo.chrome.domain.debugger / SetScriptSourceRequest

SetScriptSourceRequest

data class SetScriptSourceRequest (source)

Represents request frame that can be used with Debugger.setScriptSource method call.

Edits JavaScript source live.

Constructors

<init>

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

Represents request frame that can be used with Debugger.setScriptSource method call.

Properties

dryRun

val dryRun: Boolean?

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

scriptId

val scriptId: ScriptId

Id of the script to edit.

scriptSource

val scriptSource: String

New content of the script.