Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Browser.GrantPermissionsRequest
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { GrantPermissionsRequest } = default.Browser;

Properties

permissions: PermissionType[]
optional
origin: string

Origin the permission applies to, all origins if not specified.

optional
browserContextId: BrowserContextID

BrowserContext to override permissions. When omitted, default browser context is used.