puppeteer/new-docs/puppeteer.protocol.runtime.compilescriptrequest.md
2020-07-13 14:01:35 +01:00

1.2 KiB

Home > puppeteer > Protocol > Runtime > CompileScriptRequest

Protocol.Runtime.CompileScriptRequest interface

Signature:

export interface CompileScriptRequest 

Properties

Property Type Description
executionContextId ExecutionContextId Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
expression string Expression to compile.
persistScript boolean Specifies whether the compiled script should be persisted.
sourceURL string Source url to be set for the script.