Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.Page.FileChooserOpenedEvent

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.Page.FileChooserOpenedEvent
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.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)