Skip to main content
Module

x/puppeteer/mod.ts>FrameAddScriptTagOptions

A port of puppeteer running on Deno
Latest
interface FrameAddScriptTagOptions
import { type FrameAddScriptTagOptions } from "https://deno.land/x/puppeteer@16.2.0/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.