Taiko
Documentation

Home / API Reference

overridePermissions

Override specific permissions to the given origin

Examples

await overridePermissions('http://maps.google.com',['geolocation']);

Parameters


origin

url origin to override permissions


permissions Array

See chrome devtools permission types for a list of permission types.


Returns

Promise