Skip to main content
Go to Latest
interface Protocol.Page.FileChooserOpenedEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { FileChooserOpenedEvent } = Protocol.Page;

Emitted only when page.interceptFileChooser is enabled.

Properties

frameId: FrameId

Id of the frame containing input node.

backendNodeId: DOM.BackendNodeId

Input node id.

mode: ("selectSingle" | "selectMultiple")

Input mode. (FileChooserOpenedEventMode enum)