puppeteer-core
Version:
A high-level API to control headless Chrome over the DevTools Protocol
24 lines • 992 B
JavaScript
/**
* @license
* Copyright 2022 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.NetworkManagerEvent = void 0;
/**
* We use symbols to prevent any external parties listening to these events.
* They are internal to Puppeteer.
*
* @internal
*/
// eslint-disable-next-line @typescript-eslint/no-namespace
var NetworkManagerEvent;
(function (NetworkManagerEvent) {
NetworkManagerEvent.Request = Symbol('NetworkManager.Request');
NetworkManagerEvent.RequestServedFromCache = Symbol('NetworkManager.RequestServedFromCache');
NetworkManagerEvent.Response = Symbol('NetworkManager.Response');
NetworkManagerEvent.RequestFailed = Symbol('NetworkManager.RequestFailed');
NetworkManagerEvent.RequestFinished = Symbol('NetworkManager.RequestFinished');
})(NetworkManagerEvent || (exports.NetworkManagerEvent = NetworkManagerEvent = {}));
//# sourceMappingURL=NetworkManagerEvents.js.map
;