mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
948 B
948 B
Home > puppeteer > FrameAddScriptTagOptions
FrameAddScriptTagOptions interface
Signature:
export interface FrameAddScriptTagOptions
Properties
| Property | Type | Description |
|---|---|---|
| content | string | Raw JavaScript content to be injected into the frame. |
| path | string | The path to a JavaScript file to be injected into the frame. |
| type | string | Set the script's type. Use module in order to load an ES2015 module. |
| url | string | the URL of the script to be added. |