Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.35 KB

puppeteer.frameaddscripttagoptions.md

File metadata and controls

20 lines (15 loc) · 1.35 KB
sidebar_label
FrameAddScriptTagOptions

FrameAddScriptTagOptions interface

Signature:

export interface FrameAddScriptTagOptions

Properties

Property Modifiers Type Description
content? string (Optional) Raw JavaScript content to be injected into the frame.
path? string (Optional) The path to a JavaScript file to be injected into the frame.
type? string (Optional) Set the script's type. Use module in order to load an ES2015 module.
url? string (Optional) the URL of the script to be added.