Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Browser.GrantPermissionsRequest
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.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.