← Back to Page domain

Page.enable

Enables page domain notifications.

Domain: Page stable

Parameters

NameTypeDescription
enableFileChooserOpenedEvent (optional)booleanIf true, the `Page.fileChooserOpened` event will be emitted regardless of the state set by `Page.setInterceptFileChooserDialog` command (default: false).

Example Request

{
  "id": 1,
  "method": "Page.enable"
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Page.enable');
console.log(result);