puppeteer/new-docs/puppeteer.protocol.debugger.setscriptsourcerequest.md

21 lines
1.0 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Debugger](./puppeteer.protocol.debugger.md) &gt; [SetScriptSourceRequest](./puppeteer.protocol.debugger.setscriptsourcerequest.md)
## Protocol.Debugger.SetScriptSourceRequest interface
<b>Signature:</b>
```typescript
export interface SetScriptSourceRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [dryRun](./puppeteer.protocol.debugger.setscriptsourcerequest.dryrun.md) | 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](./puppeteer.protocol.debugger.setscriptsourcerequest.scriptid.md) | [Runtime.ScriptId](./puppeteer.protocol.runtime.scriptid.md) | Id of the script to edit. |
| [scriptSource](./puppeteer.protocol.debugger.setscriptsourcerequest.scriptsource.md) | string | New content of the script. |