mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.6 KiB
1.6 KiB
sidebar_label |
---|
FrameAddScriptTagOptions |
FrameAddScriptTagOptions interface
Signature:
export interface FrameAddScriptTagOptions
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
content? | string | (Optional) JavaScript to be injected into the frame. | |
id? | string | (Optional) Sets the id of the script. |
|
path? | string | (Optional) Path to a JavaScript file to be injected into the frame. | |
type? | string | (Optional) Sets the type of the script. Use module in order to load an ES2015 module. |
|
url? | string | (Optional) URL of the script to be added. |