disposeBrowserContext method
Deletes a BrowserContext. All the belonging pages will be closed without calling their beforeunload hooks.
Implementation
Future<void> disposeBrowserContext(
browser.BrowserContextID browserContextId) async {
await _client.send('Target.disposeBrowserContext', {
'browserContextId': browserContextId,
});
}