Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 948 Bytes

puppeteer.frameaddscripttagoptions.md

File metadata and controls

22 lines (14 loc) · 948 Bytes

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.