mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
785 B
785 B
Home > puppeteer > Protocol > Page > AddScriptToEvaluateOnNewDocumentRequest > worldName
Protocol.Page.AddScriptToEvaluateOnNewDocumentRequest.worldName property
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.
Signature:
worldName?: string;