overridePermissions()
Override specific permissions to the given origin
Examples
Section titled “Examples”await overridePermissions('http://maps.google.com',['geolocation']);Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
origin | string | url origin to override permissions |
permissions | Array | See chrome devtools permission types for a list of permission types. |
Returns
Section titled “Returns”| Type | Description |
|---|---|
Promise<void> |