Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Debugger.SetScriptSourceRequest
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { SetScriptSourceRequest } = Protocol.Debugger;

Properties

Id of the script to edit.

scriptSource: string

New content of the script.

optional
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.