Table of Contents

Class InstallPWAOptions

Namespace
PuppeteerSharp
Assembly
PuppeteerSharp.dll
public class InstallPWAOptions
Inheritance
InstallPWAOptions

Properties

DisplayMode

Gets or sets whether the app should open in a standalone window or a browser tab.

public PWADisplayMode? DisplayMode { get; set; }

Property Value

PWADisplayMode?

Remarks

PWA.install alone leaves the app at Chromium's default display mode (browser); setting this chains a PWA.changeAppUserSettings call to apply the preference.

InstallUrlOrBundleUrl

Gets or sets the URL used to install the app, or the URL of its signed web bundle.

public string InstallUrlOrBundleUrl { get; set; }

Property Value

string

Remarks

This is required because the browser-scoped CDP session has no associated page from which Chromium could derive an install URL.

ManifestId

Gets or sets the id from the web app's manifest file, commonly the URL of the site installing the web app. See Web app manifest.

public string ManifestId { get; set; }

Property Value

string