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

21 lines
1.1 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; [GrantPermissionsRequest](./puppeteer.protocol.browser.grantpermissionsrequest.md)
## Protocol.Browser.GrantPermissionsRequest interface
<b>Signature:</b>
```typescript
export interface GrantPermissionsRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [browserContextId](./puppeteer.protocol.browser.grantpermissionsrequest.browsercontextid.md) | [BrowserContextID](./puppeteer.protocol.browser.browsercontextid.md) | BrowserContext to override permissions. When omitted, default browser context is used. |
| [origin](./puppeteer.protocol.browser.grantpermissionsrequest.origin.md) | string | Origin the permission applies to, all origins if not specified. |
| [permissions](./puppeteer.protocol.browser.grantpermissionsrequest.permissions.md) | [PermissionType](./puppeteer.protocol.browser.permissiontype.md)<!-- -->\[\] | |