Page.setLifecycleEventsEnabled

Controls whether page will emit lifecycle events.

{
  "name": "setLifecycleEventsEnabled",
  "parameters": [
    {
      "name": "enabled",
      "type": "boolean",
      "description": "If true, starts emitting lifecycle events."
    }
  ],
  "description": "Controls whether page will emit lifecycle events.",
  "experimental": true
}