Manifest

Manifest

Uses the debugger protocol to fetch the manifest from within the context of the target page, reusing any credentials, emulation, etc, already established there. The artifact produced is the fetched string, if any, passed through the manifest parser.

Constructor

new Manifest()

Source:

Methods

afterPass(optionsnon-null) → (non-null) {Promise.<?Manifest>}

Returns the parsed manifest or null if the page had no manifest. If the manifest was unparseable as JSON, manifest.value will be undefined and manifest.debugString will have the reason. See manifest-parser.js for more information.

Source:
Parameters:
Name Type Description
options Object
Returns:
Type:
Promise.<?Manifest>