diff --git a/lib/NetworkManager.js b/lib/NetworkManager.js index 2dd7897ef03..9c6934080b6 100644 --- a/lib/NetworkManager.js +++ b/lib/NetworkManager.js @@ -77,7 +77,7 @@ class NetworkManager extends EventEmitter { */ async setRequestInterceptor(interceptor) { this._requestInterceptor = interceptor; - await this._client.send('Network.enableRequestInterception', {enabled: !!interceptor}); + await this._client.send('Network.setRequestInterceptionEnabled', {enabled: !!interceptor}); } /** diff --git a/package.json b/package.json index a3de7d73596..03113076868 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "ws": "^3.0.0" }, "puppeteer": { - "chromium_revision": "484159" + "chromium_revision": "485143" }, "devDependencies": { "commonmark": "^0.27.0",