No results for

Powered byAlgolia

clearPermissions()

warning

See issue #443 for details of a known issue.

Clears all permission overrides for the BrowserContext.

Example

const context = browser.newContext();
context.grantPermissions(['clipboard-read']);
// do stuff ...
context.clearPermissions();