browser_grant_permissions
Pre-grant browser permissions like geolocation or notifications to automatically dismiss prompts and prevent flow interruptions during automation.
Instructions
Pre-grant browser permissions so the native prompt never blocks the flow.
permissions: list of permission names, e.g. ['geolocation'], ['notifications'],
['camera'], ['microphone'], ['clipboard-read'], ['clipboard-write'].
origin: restrict the grant to a specific origin (e.g. 'https://example.com');
omit to apply session-wide.
Call this before navigating to a page that requests permissions, or immediately
when a permission prompt appears (it will dismiss the prompt automatically).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| permissions | Yes | ||
| origin | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |