[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [RunScriptRequest](./puppeteer.protocol.runtime.runscriptrequest.md) > [generatePreview](./puppeteer.protocol.runtime.runscriptrequest.generatepreview.md) ## Protocol.Runtime.RunScriptRequest.generatePreview property Whether preview should be generated for the result. Signature: ```typescript generatePreview?: boolean; ```