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

670 B

Home > puppeteer > Protocol > Page > ReloadRequest > scriptToEvaluateOnLoad

Protocol.Page.ReloadRequest.scriptToEvaluateOnLoad property

If set, the script will be injected into all frames of the inspected page after reload. Argument will be ignored if reloading dataURL origin.

Signature:

scriptToEvaluateOnLoad?: string;