
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
puppeteer-proxy
Advanced tools
Proxies Puppeteer Page requests.
This package addresses several issues with Puppeteer:
The side-benefit of this implementation is that it allows to route all traffic through Node.js, i.e. you can use externally hosted Chrome instance (such as Browserless.io) to render DOM & evaluate JavaScript, and route all HTTP traffic through your Node.js instance.
The downside of this implementation is that it will introduce additional latency, i.e. requests will take longer to execute as request/ response will need to be always exchanged between Puppeteer and Node.js.
puppeteer-proxy intercepts requests after it receives the request metadata from Puppeteer. puppeteer-proxy uses Node.js to make the HTTP requests. The response is then returned to the browser. When using puppeteer-proxy, browser never makes outbound HTTP requests.
You must call page.setRequestInterception(true) before using pageProxy.proxyRequest.
import {
Agent as HttpAgent,
} from 'http';
import {
Agent as HttpsAgent,
} from 'https';
import type {
Page,
Request,
} from 'puppeteer';
import {
proxyRequest,
} from 'puppeteer-proxy';
/**
* @property agent HTTP(s) agent to use when making the request.
* @property page Instance of Puppeteer Page.
* @property proxyUrl HTTP proxy URL. A different proxy can be set for each request.
* @property request Instance of Puppeteer Request.
*/
type ProxyRequestConfigurationType = {|
+agent?: HttpAgent | HttpsAgent,
+page: Page,
+proxyUrl?: string | { http: string, https: string },
+request: Request,
|};
proxyRequest(configuration: ProxyRequestConfigurationType): PageProxyType;
import puppeteer from 'puppeteer';
import {
proxyRequest,
} from 'puppeteer-proxy';
(async () => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.setRequestInterception(true);
page.on('request', async (request) => {
await proxyRequest({
page,
proxyUrl: 'http://127.0.0.1:3000',
request,
});
});
await page.goto('http://gajus.com');
})();
FAQs
Proxies Puppeteer Page requests.
The npm package puppeteer-proxy receives a total of 201 weekly downloads. As such, puppeteer-proxy popularity was classified as not popular.
We found that puppeteer-proxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.