enable method

Future<void> enable({
  1. bool? enableFileChooserOpenedEvent,
})

Enables page domain notifications. enableFileChooserOpenedEvent If true, the Page.fileChooserOpened event will be emitted regardless of the state set by Page.setInterceptFileChooserDialog command (default: false).

Implementation

Future<void> enable({bool? enableFileChooserOpenedEvent}) async {
  await _client.send('Page.enable', {
    if (enableFileChooserOpenedEvent != null)
      'enableFileChooserOpenedEvent': enableFileChooserOpenedEvent,
  });
}