Tests canceling an HTTP auth challenge via DevTools protocol. Test started Network agent enabled Request interception enabled Page agent enabled Runtime agent enabled Network.requestIntercepted ID 1 GET iframe-auth-js.html type: Document allowRequest ID 1 Network.responseReceived iframe-auth-js.html 200 text/html Network.requestIntercepted ID 2 GET unauthorised.pl type: Script allowRequest ID 2 Auth required for ID 2 ----- Cancel Auth ----- Network.responseReceived unauthorised.pl 401 text/plain Network.loadingFailed unauthorised.pl net::ERR_ABORTED Page.frameStoppedLoading