October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

Puppeteer BrowserContext Options Explained (v25.12.0)

Puppeteer 25.12.0 documents three BrowserContext options: downloadBehavior, proxyServer, and proxyBypassList. Here is where they go and how context isolation and cleanup work.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

In Puppeteer 25.12.0, pass an optional BrowserContextOptions object to browser.createBrowserContext(). The interface documents three options: downloadBehavior, proxyServer, and proxyBypassList. A new context also gives pages an isolated storage boundary, including cookies and local storage.

Where BrowserContext options go

Call browser.createBrowserContext(options?). It returns a promise for a BrowserContext; create pages from that context with context.newPage(). The Puppeteer v25.12.0 API reference documents this method and its optional argument at Browser.createBrowserContext().

As an Amazon Associate I earn from qualifying purchases.

const browser = await puppeteer.launch();
const context = await browser.createBrowserContext({
  proxyServer: 'http://proxy.example:8080',
  proxyBypassList: ['localhost'],
});
const page = await context.newPage();
await page.goto('https://example.com');
await context.close();
await browser.close();

This example illustrates option syntax; the proxy address is not a tested service. The API’s basic example creates a context without options. Check the reference for the Puppeteer version installed in your project because the interface and browser behavior can change.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The three documented options

All three properties are optional in the v25.12.0 interface. The reference does not establish a particular default proxy configuration, so do not infer one from the absence of a value.

#1 Best Overall
HP 14" HD Chromebook Laptop for Students, Intel Quad-Core N4120(> N4020), 4GB RAM, 64GB eMMC, WiFi, Webcam, HDMI, USB-A&C, 14 Hours Battery Life, Zoom, Chrome OS, CUE Accessories
  • Intel Celeron N4120: 4 Cores & Threads, 1.1GHz Base Clock, Up to 2.6GHz Boost Clock, 4MB Cache, Intel UHD Graphics 600. The perfect combination of performance, power consumption, and value helps your device handle multitasking smoothly and reliably with four processing cores to divide up the work.
Option Type What it controls Practical use
downloadBehavior DownloadBehavior Behavior for file downloads. When unset, the default behavior is used. Set it when the context needs a specific download policy. The interface reference does not enumerate the available DownloadBehavior values; consult that type’s reference rather than assuming values.
proxyServer string A proxy server, optionally with a port, for requests. Set the proxy endpoint for the context. Puppeteer’s interface reference says proxy username and password can be set with Page.authenticate; verify authentication behavior with your browser version and target.
proxyBypassList string[] A list of hosts that bypass the proxy. Use it for hosts that should connect without the configured proxy.

These are separate controls rather than alternatives: choose download handling for file policy, a proxy endpoint for request routing, and a bypass list for exceptions. The BrowserContextOptions interface reference is the authority for their documented types and meanings.

What a browser context isolates

Puppeteer describes a BrowserContext as an individual user context with isolated storage, including cookies and localStorage. A created context does not share cookies or cache with other browser contexts. This makes contexts useful for separating sessions within a browser process; it does not mean that separate pages inside one context have independent storage.

  • A popup opened by a page, such as through window.open, belongs to its parent page’s browser context.
  • In Chrome, non-default contexts are incognito. The default context may also be incognito if Chrome was launched with --incognito.
  • Create contexts through the browser API. Puppeteer marks the BrowserContext constructor as internal.

See Puppeteer’s BrowserContext class reference for context behavior.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Close the context when its work is done

For a non-default context, await context.close() closes the context and all pages associated with it. The default browser context cannot be closed. Close each temporary context when finished, then close the browser if the process is also complete.

Rank #3
ASUS 2026 15" FHD IPS Chromebook, Intel Processor Up to 2.80GHz, 4GB DDR4, 128GB Storage, HDMI, Super-Fast WiFi, Chrome OS, Pastel Silver (Renewed)
  • Intel Processor Up to 2.80GHz, 4GB DDR4, 128GB Storage
  • 15" FHD IPS Display, Intel UHD Graphics
  • 1x USB Type C, 1 x USB Type A, 1x Headphone/Microphone Combo Jack, HDMI
  • Fast WiFi and Bluetooth, Integrated Webcam
  • Chrome OS, AC Charger Included, Pastel Silver

Choose options by the job

  • Independent sessions: create separate contexts when cookies and cache should not be shared across groups of pages.
  • Proxy routing: set proxyServer when requests should use a proxy; add proxyBypassList for hosts that should bypass it.
  • Download policy: set downloadBehavior when the context needs a policy other than the default.

The cited Puppeteer references document API behavior, not comparative performance or security benchmarks.

Troubleshooting BrowserContext options

Option appears to have no effect

Confirm the object is passed to browser.createBrowserContext(options), not to puppeteer.launch() or a page method. Check spelling and consult the API documentation matching your installed Puppeteer version.

Rank #4
Lenovo Chromebook 2-in-1 - Lightweight Laptop - Google Gemini - Intel® N150 CPU - 14" WUXGA IPS Touchscreen Display - 4GB RAM - 128GB UFS Storage - Integrated Intel® Graphics - Luna Grey
  • THE BETTER WAY TO LAPTOP – Imagine a Chromebook that’s as flexible as your day: thin and lightweight with built-in Google apps and stress-free security.
  • TAKE HITS KEEP MOVING – Sleek, light, and built to last- the Chromebook 2-in-1 is just 0.69” thick and 3.3lbs. Enjoy long-lasting battery life, fast charging, and military-grade durability for nonstop productivity wherever life takes you.
  • PERFORMANCE THAT MATCHES YOUR HUSTLE – Fuel your ideas with an Intel Core processor and 128GB storage. Boot up in under 10 seconds to start the day powerfully efficient.
  • FLEX YOUR CREATIVITY ANYWHERE, ANYTIME – Create, work, or unwind your way with a versatile 2-in-1 design. Flip easily between laptop, tent, and tablet modes with a responsive touchscreen built for flexibility.
  • BRILLIANT VIEWS AND IMMERSIVE AUDIO – See, hear, and create with awesome clarity. The WUXGA display brings rich detail to your work and play, while audio tuned by Waves MaxxAudio provides immersive, balanced sound.

A host is not using the proxy

Review proxyBypassList for that host and verify the proxyServer endpoint and optional port. A bypass-list match is intended to route the host outside the proxy.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Proxy authentication fails

The interface reference points to Page.authenticate for username and password. Confirm authentication is configured on the relevant page and test against the target browser and proxy; the interface definition alone does not specify every provider’s authentication behavior.

Best Value
HP Chromebook 14 Laptop, Intel Celeron N4120, 4 GB RAM, 64 GB eMMC, 14" HD Display, Chrome OS, Thin Design, 4K Graphics, Long Battery Life, Ash Gray Keyboard (14a-na0226nr, 2022, Mineral Silver)
  • FOR HOME, WORK, & SCHOOL – With an Intel processor, 14-inch display, custom-tuned stereo speakers, and long battery life, this Chromebook laptop lets you knock out any assignment or binge-watch your favorite shows..Voltage:5.0 volts
  • HD DISPLAY, PORTABLE DESIGN – See every bit of detail on this micro-edge, anti-glare, 14-inch HD (1366 x 768) display (1); easily take this thin and lightweight laptop PC from room to room, on trips, or in a backpack.
  • ALL-DAY PERFORMANCE – Reliably tackle all your assignments at once with the quad-core, Intel Celeron N4120—the perfect processor for performance, power consumption, and value (2).
  • 4K READY – Smoothly stream 4K content and play your favorite next-gen games with Intel UHD Graphics 600 (3) (4).
  • MEMORY AND STORAGE – Enjoy a boost to your system’s performance with 4 GB of RAM while saving more of your favorite memories with 64 GB of reliable flash-based eMMC storage (5).

Cookies or cache seem shared

Check that the pages were created from separate contexts rather than from the same context or the default context. Context isolation applies between browser contexts.

Pages remain open after a task

Close the non-default context with await context.close(); this closes its associated pages. Do not try to close the default context.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

For a screenshot rather than a custom Puppeteer workflow, ScreenshotNeo is a website screenshot API and MCP server. Its one-call cURL example is:

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp

See the ScreenshotNeo documentation for API details. It removes cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are not billed. Its MCP server lets AI agents take screenshots. The Free plan includes 1,000 screenshots per month without a card, and paid plans start at $5 for 3,000.

Sign up for ScreenshotNeo’s free plan to try 1,000 screenshots a month with no card.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.