onFrameSubtreeWillBeDetached property
Fired before frame subtree is detached. Emitted before any frame of the subtree is actually detached.
Implementation
Stream<FrameId> get onFrameSubtreeWillBeDetached => _client.onEvent
.where((event) => event.name == 'Page.frameSubtreeWillBeDetached')
.map((event) => FrameId.fromJson(event.parameters['frameId'] as String));