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

1006 B

Home > puppeteer > Protocol > Page > AddScriptToEvaluateOnNewDocumentRequest

Protocol.Page.AddScriptToEvaluateOnNewDocumentRequest interface

Signature:

export interface AddScriptToEvaluateOnNewDocumentRequest 

Properties

Property Type Description
source string
worldName string If specified, creates an isolated world with the given name and evaluates given script in it. This world name will be used as the ExecutionContextDescription::name when the corresponding event is emitted.