<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [BrowserContext](./puppeteer.browsercontext.md) &gt; [overridePermissions](./puppeteer.browsercontext.overridepermissions.md)

## BrowserContext.overridePermissions() method

<b>Signature:</b>

```typescript
overridePermissions(origin: string, permissions: Protocol.Browser.PermissionType[]): Promise<void>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  origin | string |  |
|  permissions | Protocol.Browser.PermissionType\[\] |  |

<b>Returns:</b>

Promise&lt;void&gt;