Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Page.WindowOpenEvent
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { WindowOpenEvent } = default.Page;

Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.

Properties

url: string

The URL for the new window.

windowName: string

Window name.

windowFeatures: string[]

An array of enabled window features.

userGesture: boolean

Whether or not it was triggered by user gesture.