October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober 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 Screenshots with a Specific Locale and Timezone

Configure Puppeteer’s timezone before loading a page, verify locale support for your installed version, then select the screenshot scope and format you need.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set Puppeteer’s timezone with page.emulateTimezone('America/Los_Angeles') before navigating to the page. Locale emulation is version-dependent: Puppeteer’s changelog says it was added in version 25.2.0, but confirm the locale API’s current name and signature in the documentation for your installed version rather than relying on an unverified example.

Set the timezone before navigation

Timezone affects browser-visible date and time behavior, so configure it before loading the target URL. Use an ICU-supported timezone identifier, such as America/Los_Angeles. Passing null to the timezone API disables emulation.

As an Amazon Associate I earn from qualifying purchases.

const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch();
  try {
    const page = await browser.newPage();

    // Use a timezone identifier supported by ICU.
    await page.emulateTimezone('America/Los_Angeles');

    await page.goto('https://example.com', { waitUntil: 'networkidle2' });
    await page.screenshot({ path: 'page.png', fullPage: true });
  } finally {
    await browser.close();
  }
})();

The timezone call is the documented Puppeteer API. The navigation wait condition is an example, not a universal requirement: choose one that suits the site and the content you need to capture.

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.

Configure locale without guessing the API

Puppeteer’s changelog records locale emulation as added in version 25.2.0. The available references do not establish the current method name or signature, so there is no responsible, verified locale call to include as executable code here. Check the API reference for your installed Puppeteer version and insert its documented locale-emulation call after creating the page and before page.goto().

#1 Best Overall
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
  • WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
  • A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents

Locale and timezone are separate settings. A timezone changes timezone-related browser behavior; locale emulation may affect language and regional behavior, but its exact effects depend on the API and version. If the page uses either setting during initial rendering, applying it only after navigation can be too late.

Choose what the screenshot contains

page.screenshot() captures a page and can return image data as binary or base64. Its options let you decide whether to capture the viewport, the full page, or a specific rectangle.

Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
  • SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
Need Option or API Effect
Save to a file path Sets the output file path.
Capture beyond the viewport fullPage: true Captures the full page rather than just the visible viewport.
Capture a region clip Specifies a rectangular capture region.
Select an image format type Chooses an image format. Quality can be set for supported formats.
Keep the page background transparent omitBackground: true Omits the default background.
Capture one element elementHandle.screenshot() Captures an element; Puppeteer scrolls it into view if needed before capture.

For example, replace the screenshot line in the code above with await page.screenshot({ path: 'page.png', fullPage: true, type: 'png' }); for a full-page PNG. To capture a particular element, locate it, then call its screenshot method:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
const element = await page.$('.receipt');
if (!element) throw new Error('Could not find .receipt');
await element.screenshot({ path: 'receipt.png' });

Make captures reproducible

A screenshot is meaningful only alongside the browser environment that produced it. Record the Puppeteer version, browser type and version, protocol, locale, timezone identifier, viewport, and screenshot options with the image. Puppeteer documents a bundled-browser compatibility guarantee; if you choose another browser executable, record that choice and its version too.

Rank #3
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
  • Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
  • Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
  • In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
  • Ultra-thin bezels: Maximize your viewing experience with thin bezels.

Protocol can affect feature availability. Puppeteer’s WebDriver BiDi documentation lists screenshot parameters and timezone emulation, while warning that not every feature works over every protocol. Check support for the protocol you actually use instead of assuming all options behave identically.

Wait for the right moment to capture

The example uses waitUntil: 'networkidle2', a condition shown in Puppeteer’s screenshot guidance. It may not be the right readiness signal for every website: pages with ongoing network activity can remain busy, while some pages render important content after network activity subsides. Use the condition that matches the target page, and, when necessary, wait for the relevant element or application state before taking the screenshot.

Rank #4
Sale
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor | 100Hz, Game Mode, Advanced Eye Comfort, HDMI and D-sub Ports (LS27D366GANXZA)
  • CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
  • SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
  • MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
  • KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
  • INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient

Troubleshooting

  • Timezone call fails: Confirm you are using the documented page.emulateTimezone(timezoneId) API and pass an ICU-supported identifier. If you intend to disable emulation, use null.
  • Locale call is missing or rejected: Check your installed Puppeteer version and its corresponding API reference. Locale emulation was added in 25.2.0; do not assume a method name or signature from another version.
  • The rendered page still uses the wrong regional behavior: Apply the configured locale and timezone before navigation, and verify the page’s behavior after it loads. Locale and timezone are distinct settings.
  • The screenshot omits content below the fold: Set fullPage: true. If you need only a portion, use clip or an element handle’s screenshot method.
  • The capture is blank or incomplete: Confirm that navigation succeeded and that the page reached a suitable readiness condition before capture. A network-idle condition is not a guarantee that every application has finished rendering.
  • Options behave differently with another browser or protocol: Record the browser and protocol, and check the relevant support documentation. The bundled-browser guarantee does not make an alternate executable interchangeable in every setup.
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 hosted capture, ScreenshotNeo accepts a URL in one GET request and can return a screenshot or PDF. Its timezone and geolocation options let you configure those settings without managing a local browser. See the ScreenshotNeo API documentation for request options.

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

ScreenshotNeo removes cookie and consent banners, newsletter popups, and chat widgets before capture; each step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and responses include X-Page-Verdict and X-Billed headers. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for AI agents. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 shots.

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

Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
  • 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
  • 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.

Frequently Asked Questions

What timezone format should I pass to Puppeteer?

Use an ICU-supported timezone identifier, such as America/Los_Angeles.

Can I emulate a locale in every Puppeteer version?

Locale emulation was added in Puppeteer 25.2.0. Check the API reference for your installed version to confirm its method name and signature.

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.

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.