puppeteer/new-docs/puppeteer.protocol.browser.setpermissionrequest.md

22 lines
1.3 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Browser](./puppeteer.protocol.browser.md) &gt; [SetPermissionRequest](./puppeteer.protocol.browser.setpermissionrequest.md)
## Protocol.Browser.SetPermissionRequest interface
<b>Signature:</b>
```typescript
export interface SetPermissionRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [browserContextId](./puppeteer.protocol.browser.setpermissionrequest.browsercontextid.md) | [BrowserContextID](./puppeteer.protocol.browser.browsercontextid.md) | Context to override. When omitted, default browser context is used. |
| [origin](./puppeteer.protocol.browser.setpermissionrequest.origin.md) | string | Origin the permission applies to, all origins if not specified. |
| [permission](./puppeteer.protocol.browser.setpermissionrequest.permission.md) | [PermissionDescriptor](./puppeteer.protocol.browser.permissiondescriptor.md) | Descriptor of permission to override. |
| [setting](./puppeteer.protocol.browser.setpermissionrequest.setting.md) | [PermissionSetting](./puppeteer.protocol.browser.permissionsetting.md) | Setting of the permission. |