puppeteer/new-docs/puppeteer.frameaddscripttagoptions.md

23 lines
948 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [FrameAddScriptTagOptions](./puppeteer.frameaddscripttagoptions.md)
## FrameAddScriptTagOptions interface
<b>Signature:</b>
```typescript
export interface FrameAddScriptTagOptions
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [content](./puppeteer.frameaddscripttagoptions.content.md) | string | Raw JavaScript content to be injected into the frame. |
| [path](./puppeteer.frameaddscripttagoptions.path.md) | string | The path to a JavaScript file to be injected into the frame. |
| [type](./puppeteer.frameaddscripttagoptions.type.md) | string | Set the script's <code>type</code>. Use <code>module</code> in order to load an ES2015 module. |
| [url](./puppeteer.frameaddscripttagoptions.url.md) | string | the URL of the script to be added. |