Table of Contents

Class PermissionDescriptor

Namespace
PuppeteerSharp
Assembly
PuppeteerSharp.dll

Describes a permission to set via SetPermissionAsync(string, params PermissionEntry[]).

public class PermissionDescriptor
Inheritance
PermissionDescriptor

Properties

AllowWithoutSanitization

Gets or sets a value indicating whether to allow writing without sanitization (clipboard).

public bool? AllowWithoutSanitization { get; set; }

Property Value

bool?

Name

Gets or sets the permission name (e.g. "geolocation", "midi", "notifications").

public string Name { get; set; }

Property Value

string

PanTiltZoom

Gets or sets a value indicating whether to enable pan-tilt-zoom controls (camera).

public bool? PanTiltZoom { get; set; }

Property Value

bool?

Sysex

Gets or sets a value indicating whether to enable system exclusive access (MIDI).

public bool? Sysex { get; set; }

Property Value

bool?

UserVisibleOnly

Gets or sets a value indicating whether the permission should only apply to user-visible operations.

public bool? UserVisibleOnly { get; set; }

Property Value

bool?