mirror of
https://github.com/hanzoai/puppeteer.git
synced 2026-09-24 17:02:14 +00:00
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
852 B
852 B
sidebar_label
| sidebar_label |
|---|
| Browser.getPWAState |
Browser.getPWAState() method
Returns the OS-integration state of an installed Progressive Web App (PWA), such as its badge count and registered file handlers.
Signature
class Browser {
abstract getPWAState(options: GetPWAStateOptions): Promise<PWAState>;
}
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
options |
Returns:
Promise<PWAState>
Remarks
Only available over a pipe connection. See Browser.installPWA(). Meaningful only for an app that is currently installed; querying an unknown manifest id rejects.