puppeteer-interceptor
puppeteer-interceptor copied to clipboard
Easy request interception/response modification for puppeteer
Bumps [debug](https://github.com/debug-js/debug) from 4.1.1 to 4.3.1. Release notes Sourced from debug's releases. 4.3.1 Patch release 4.3.1 Fixes a ReDOS regression (#458) - see #797 for details. 4.3.0 Minor release Deprecated...
Failing using auth proxies var context = await browser.createIncognitoBrowserContext({ proxyServer: proxy }); await page.authenticate({ username: user, password: pass, }) Result: ERR_INVALID_AUTH_CREDENTIALS The credentials are valid
Simply logging the request object like so, it is clear that no field is exposed to modify a request POST body before it is sent out. This request here for...
302 redirect not have response body,throw Error "Can only get response body on requests captured after headers received" Maybe you need a ---> try catch ``` try { const responseCdp...
I want to modify response headers, but the codes below can't work. ``` intercept(page, patterns.Document('*'), { onInterception: event => { console.log(`${event.request.url} intercepted.`) }, onResponseReceived: event => { event.response.headers.push({ name: 'Link',...
Does not allow proxies with authentication to be authenticated. ``` const proxyUser = `o`; const proxyPass = 'f'; const options = { headless: false, // devtools: true, args: [ '--no-sandbox',...
I saw it had collapsed non-ascii characters originally encoded in utf-8. For example, for `ブーツ` it produced `ãã¼ã`. It'd be favorable to respect `Content-Type` in the response header. Also, it'd...