<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [puppeteer](./puppeteer.md) > [BrowserContext](./puppeteer.browsercontext.md) > [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<void>