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

14 lines
670 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Page](./puppeteer.protocol.page.md) &gt; [ReloadRequest](./puppeteer.protocol.page.reloadrequest.md) &gt; [scriptToEvaluateOnLoad](./puppeteer.protocol.page.reloadrequest.scripttoevaluateonload.md)
## 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.
<b>Signature:</b>
```typescript
scriptToEvaluateOnLoad?: string;
```