Skip to content

InstallPWAOptions

Namespace: PuppeteerSharp

public class InstallPWAOptions

Options for InstallPWAAsync(InstallPWAOptions).

Inheritance: object

View source

public PWADisplayMode? DisplayMode { get; set; }

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

Value: PWADisplayMode?

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

View source

public string InstallUrlOrBundleUrl { get; set; }

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

Value: string

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

View source

public string ManifestId { get; set; }

Gets or sets the id from the web app’s manifest file, commonly the URL of the site installing the web app. See <a href=“https://web.dev/learn/pwa/web-app-manifest"&gt;Web app manifest</a>.

Value: string

View source

Made with love by Dario Kondratiuk