mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.3 KiB
1.3 KiB
sidebar_label |
---|
FrameAddScriptTagOptions |
FrameAddScriptTagOptions interface
Signature:
export interface FrameAddScriptTagOptions
Properties
Property |
Modifiers |
Type |
Description |
Default |
---|---|---|---|---|
content |
|
string |
JavaScript to be injected into the frame. | |
id |
|
string |
Sets the | |
path |
|
string |
Path to a JavaScript file to be injected into the frame. Remarks: If | |
type |
|
string |
Sets the | |
url |
|
string |
URL of the script to be added. |