Page.enableEnables page domain notifications.
| Name | Type | Description |
|---|---|---|
enableFileChooserOpenedEvent (optional) | boolean | If true, the `Page.fileChooserOpened` event will be emitted regardless of the state set by `Page.setInterceptFileChooserDialog` command (default: false). |
{
"id": 1,
"method": "Page.enable"
}
{
"id": 1,
"result": {}
}
const result = await send('Page.enable');
console.log(result);