← Back to PWA domain

PWA.openCurrentPageInApp

Opens the current page in its web app identified by the manifest id, needs to be called on a page target. This function returns immediately without waiting for the app to finish loading.

Domain: PWA experimental

Parameters

NameTypeDescription
manifestIdstring

Example Request

{
  "id": 1,
  "method": "PWA.openCurrentPageInApp",
  "params": {
    "manifestId": "manifestId-value"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('PWA.openCurrentPageInApp', {"manifestId": "manifestId-value"});
console.log(result);