method BrowserContext.prototype.overridePermissionsRe-exportimport { BrowserContext } from "https://deno.land/x/puppeteer@16.2.0/mod.ts"; overridePermissions(origin: string, permissions: Permission[]): Promise<void>ExamplesExample 1 const context = browser.defaultBrowserContext(); await context.overridePermissions('https://html5demos.com', [ 'geolocation', ]); Parametersorigin: string The origin to grant permissions to, e.g. "https://example.com". permissions: Permission[] An array of permissions to grant. All permissions that are not listed here will be automatically denied. ReturnsPromise<void>