Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Page.FileChooserOpenedEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
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)