puppeteer/new-docs/puppeteer.protocol.browser.setpermissionrequest.md
2020-07-13 14:01:35 +01:00

1.3 KiB

Home > puppeteer > Protocol > Browser > SetPermissionRequest

Protocol.Browser.SetPermissionRequest interface

Signature:

export interface SetPermissionRequest 

Properties

Property Type Description
browserContextId BrowserContextID Context to override. When omitted, default browser context is used.
origin string Origin the permission applies to, all origins if not specified.
permission PermissionDescriptor Descriptor of permission to override.
setting PermissionSetting Setting of the permission.