puppeteer/new-docs/puppeteer.frameaddscripttagoptions.md
Jack Franklin 24cb6a28ad
chore(docs): document Frame class (#6188)
* chore: document Frame class
2020-07-09 14:22:58 +01:00

948 B

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.