diff --git a/docs/api/puppeteer.permission.md b/docs/api/puppeteer.permission.md index a19e1189..037d587f 100644 --- a/docs/api/puppeteer.permission.md +++ b/docs/api/puppeteer.permission.md @@ -21,6 +21,7 @@ export type Permission = | 'accessibility-events' | 'clipboard-read' | 'clipboard-write' + | 'clipboard-sanitized-write' | 'payment-handler' | 'persistent-storage' | 'idle-detection' diff --git a/packages/puppeteer-core/src/api/Browser.ts b/packages/puppeteer-core/src/api/Browser.ts index 584cada5..63f4766f 100644 --- a/packages/puppeteer-core/src/api/Browser.ts +++ b/packages/puppeteer-core/src/api/Browser.ts @@ -84,6 +84,7 @@ export const WEB_PERMISSION_TO_PROTOCOL_PERMISSION = new Map< ['accessibility-events', 'accessibilityEvents'], ['clipboard-read', 'clipboardReadWrite'], ['clipboard-write', 'clipboardReadWrite'], + ['clipboard-sanitized-write', 'clipboardSanitizedWrite'], ['payment-handler', 'paymentHandler'], ['persistent-storage', 'durableStorage'], ['idle-detection', 'idleDetection'], @@ -108,6 +109,7 @@ export type Permission = | 'accessibility-events' | 'clipboard-read' | 'clipboard-write' + | 'clipboard-sanitized-write' | 'payment-handler' | 'persistent-storage' | 'idle-detection'