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

Definition of PermissionDescriptor defined in the Permissions API: https://w3c.github.io/permissions/#dictdef-permissiondescriptor.

Properties

optional
sysex: boolean

For "midi" permission, may also specify sysex control.

optional
userVisibleOnly: boolean

For "push" permission, may specify userVisibleOnly. Note that userVisibleOnly = true is the only currently supported type.

optional
allowWithoutSanitization: boolean

For "clipboard" permission, may specify allowWithoutSanitization.

optional
panTiltZoom: boolean

For "camera" permission, may specify panTiltZoom.