Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface FrameAddScriptTagOptions
import { type FrameAddScriptTagOptions } from "https://deno.land/x/frugal@0.9.6/dep/puppeteer/mod.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.