Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Page.FileChooserOpenedEvent

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Page.FileChooserOpenedEvent
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { FileChooserOpenedEvent } = Protocol.Page;

Emitted only when page.interceptFileChooser is enabled.

Properties

frameId: FrameId

Id of the frame containing input node.

mode: ("selectSingle" | "selectMultiple")

Input mode. (FileChooserOpenedEventMode enum)

optional
backendNodeId: DOM.BackendNodeId

Input node id. Only present for file choosers opened via an element.