setLifecycleEventsEnabled method
Controls whether page will emit lifecycle events.
enabled
If true, starts emitting lifecycle events.
Implementation
Future<void> setLifecycleEventsEnabled(bool enabled) async {
await _client.send('Page.setLifecycleEventsEnabled', {'enabled': enabled});
}