Grant Browser Permissions
browser_grant_permissionsGrant specified browser permissions like geolocation or camera for authorized tests. Requires prior acknowledgment and minimal permission list to enable permission-dependent flows.
Instructions
Use when a full-profile authorized test explicitly requires browser permissions such as geolocation, notifications, camera, or microphone. Preconditions: acknowledgePermissionChange: true and the minimal intended permission list are required. Next: run the permission-dependent flow and avoid granting unrelated capabilities. Sensitivity: permissions expose device-like capabilities and can change what the target page may access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | No | ||
| permissions | Yes | ||
| acknowledgePermissionChange | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |