Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Browser.SetPermissionRequest
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { SetPermissionRequest } = default.Browser;

Properties

Descriptor of permission to override.

Setting of the permission.

optional
origin: string

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

optional
browserContextId: BrowserContextID

Context to override. When omitted, default browser context is used.