[Home](./index.md) > [puppeteer](./puppeteer.md) > [BrowserContext](./puppeteer.browsercontext.md) > [overridePermissions](./puppeteer.browsercontext.overridepermissions.md) ## BrowserContext.overridePermissions() method Signature: ```typescript overridePermissions(origin: string, permissions: Protocol.Browser.PermissionType[]): Promise; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | origin | string | | | permissions | Protocol.Browser.PermissionType\[\] | | Returns: Promise<void>