Skip to main content
Version: 25.4.0

InstallPWAOptions interface

Options for Browser.installPWA().

Signature

export interface InstallPWAOptions

Properties

Property

Modifiers

Type

Description

Default

displayMode

optional

PWADisplayMode

Whether the app should open in a standalone window or a browser tab.

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

string

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

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

manifestId

string

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