set_site_permission
Grant or modify a browser site permission for a specific origin for a limited time, then automatically restore the previous setting. Choose from notifications, geolocation, camera, microphone, or clipboard.
Instructions
Temporarily set an origin-scoped browser site permission for 60-600 seconds. Only http/https origins and notifications, geolocation/location, camera, microphone, or clipboard are supported. safe asks on every allow; lab skips prompts by default and restores session approval only when BROWSERTAP_LAB_NO_ELICIT is explicitly disabled. All leases restore their prior setting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | No | ||
| setting | Yes | ||
| permission | Yes | ||
| session_id | No | ||
| duration_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||