import { BrowserContext } from "https://deno.land/x/pptr@1.2.0/src/Browser.ts";
Examples
Example 1
Example 1
const context = browser.defaultBrowserContext();
await context.overridePermissions('https://html5demos.com', ['geolocation']);
Parameters
- The origin to grant permissions to, e.g. "https://example.com".