InstallPWAOptions
Namespace: PuppeteerSharp
public class InstallPWAOptionsOptions for InstallPWAAsync(InstallPWAOptions).
Inheritance: object
Properties
Section titled “Properties”DisplayMode
Section titled “DisplayMode”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.
InstallUrlOrBundleUrl
Section titled “InstallUrlOrBundleUrl”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.
ManifestId
Section titled “ManifestId”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">Web app manifest</a>.
Value: string
Made with love by Dario Kondratiuk