puppeteer/docs/api/puppeteer.frameaddscripttagoptions.md
dependabot[bot] 93e9acc410
chore(deps-dev): Bump the dev-dependencies group with 3 updates (#12101)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
2024-03-20 15:03:14 +00:00

1.0 KiB

sidebar_label
FrameAddScriptTagOptions

FrameAddScriptTagOptions interface

Signature:

export interface FrameAddScriptTagOptions

Properties

Property

Modifiers

Type

Description

Default

content

optional

string

JavaScript to be injected into the frame.

id

optional

string

Sets the id of the script.

path

optional

string

Path to a JavaScript file to be injected into the frame.

type

optional

string

Sets the type of the script. Use module in order to load an ES2015 module.

url

optional

string

URL of the script to be added.