Skip to main content
Go to Latest
interface FrameAddScriptTagOptions
import { type FrameAddScriptTagOptions } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";

Properties

optional
url: string

the URL of the script to be added.

optional
path: string

The path to a JavaScript file to be injected into the frame.

optional
content: string

Raw JavaScript content to be injected into the frame.

optional
type: string

Set the script's type. Use module in order to load an ES2015 module.