onFileChooserOpened property

Stream<FileChooserOpenedEvent> get onFileChooserOpened

Emitted only when page.interceptFileChooser is enabled.

Implementation

Stream<FileChooserOpenedEvent> get onFileChooserOpened => _client.onEvent
    .where((event) => event.name == 'Page.fileChooserOpened')
    .map((event) => FileChooserOpenedEvent.fromJson(event.parameters));