← Back to Page domain
Page.getAppManifest
Gets the processed manifest for this current document.
This API always waits for the manifest to be loaded.
If manifestId is provided, and it does not match the manifest of the
current document, this API errors out.
If there is not a loaded page, this API errors out immediately.
Domain: Page
stable
Parameters
| Name | Type | Description |
manifestId (optional) | string | |
Returns
| Name | Type | Description |
url | string | Manifest location. |
errors | array | |
data | string | Manifest content. |
parsed | AppManifestParsedProperties | Parsed manifest properties. Deprecated, use manifest instead. |
manifest | WebAppManifest | |
Example Request
{
"id": 1,
"method": "Page.getAppManifest"
}
Example Response
{
"id": 1,
"result": {
"url": "url-value",
"errors": [],
"data": "base64-encoded-data...",
"parsed": "parsed-value",
"manifest": "manifest-value"
}
}
Usage in Node.js
const result = await send('Page.getAppManifest');
console.log(result);
// {"url": "url-value", "errors": [], "data": "base64-encoded-data...", "parsed": "parsed-value", "manifest": "manifest-value"}