Files
puppeteer/website/versioned_docs/version-25.4.0/api/puppeteer.browser.launchpwa.md
T
browser-automation-botGitHubrelease-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
4d7b677d1d chore: release main (#15201)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2026-07-27 14:29:23 +02:00

1.0 KiB

sidebar_label
sidebar_label
Browser.launchPWA

Browser.launchPWA() method

Launches an installed Progressive Web App (PWA) and resolves with the page backing the app window.

Signature

class Browser {
  abstract launchPWA(options: LaunchPWAOptions): Promise<Page>;
}

Parameters

Parameter

Type

Description

options

LaunchPWAOptions

Returns:

Promise<Page>

Remarks

Only available over a pipe connection. See Browser.installPWA().

PWA.launch resolves with the id of the launched _tab_ target. Puppeteer does not expose tab targets through Browser.targets(); this method instead resolves with the tab's child page target (the app's web contents). If Chromium focuses an existing app window, this returns that window's existing page.