resetPermissions method

Future<void> resetPermissions({
  1. BrowserContextID? browserContextId,
})

Reset all permission management for all origins. browserContextId BrowserContext to reset permissions. When omitted, default browser context is used.

Implementation

Future<void> resetPermissions({BrowserContextID? browserContextId}) async {
  await _client.send('Browser.resetPermissions', {
    if (browserContextId != null) 'browserContextId': browserContextId,
  });
}