From 608f5b79fe83d206ee89aebd7a3e82e9b83b52d3 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 7 Aug 2018 14:24:27 -0700 Subject: [PATCH] docs(api.md): clarification note on request interception (#3042) Fixes #3040. --- docs/api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api.md b/docs/api.md index 09dff1a84fa..946620e1c7a 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1486,7 +1486,9 @@ The extra HTTP headers will be sent with every request the page initiates. Activating request interception enables `request.abort`, `request.continue` and `request.respond` methods. This provides the capability to modify network requests that are made by a page. +Once request interception is enabled, every request will stall unless it's continued, responded or aborted. An example of a naïve request interceptor that aborts all image requests: + ```js const puppeteer = require('puppeteer');