Recommended Free Tools
Set the browser locale before opening the product page, then use the retailer’s own region or currency selector to choose the currency. Locale can affect language and number formatting, but it does not universally override a store’s currency. Verify the product, price, and currency on the page before saving the screenshot.
What locale can—and cannot—control
In Playwright, a browser context’s locale setting changes browser language signaling and locale-sensitive number and date formatting. It can affect navigator.language and the Accept-Language request header. It does not guarantee that a retailer will show a particular currency: stores may determine currency using their own region selector or saved site state. Set locale before navigation so the initial page request uses the intended language settings, then confirm currency on the page.
Playwright’s documentation describes locale and timezone emulation as: “Emulate the browser Locale and Timezone which can be set globally for all tests in the config and then overridden for particular tests.” See Playwright: Emulation and the browser context locale option.
Capture a product page using Playwright
1. Install Playwright
In a new project directory, install Playwright and its Chromium browser:
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errors#1 Best Overall
- Universal unlocked. Compatible with all major U.S. carriers, including Verizon, AT&T, T-Mobile and other prepaid carriers.
- Super-bright, super-smooth 6.7" display. See your screen clearly even outdoors in sunlight, and enjoy seamless views with a fast-refreshing 120Hz display.*
- AI-powered camera system. Take stunning photos in any light with the 50MP camera**, look your best with a 32MP selfie cam*****, and capture extreme close-ups.
- Superfast 5G performance. Unleash your entertainment at 5G speed*** with the MediaTek Dimensity 6300 chipset and up to 12GB of RAM with RAM Boost****.
- Long-lasting battery + TurboPower charging. Power through day after day with a 5200mAh battery, then get hours of power in just minutes.****
npm init -y
npm install playwright
npx playwright install chromium
Save the script below as capture-product.mjs. Replace the example URL and product name with the values for the store you are authorized to access. The locator for the currency indicator must also be adapted to the retailer’s page.
2. Set locale and viewport before navigation
import { chromium } from 'playwright';
const productUrl = 'https://shop.example/product';
const expectedProduct = /product name/i;
const browser = await chromium.launch();
try {
const context = await browser.newContext({
locale: 'de-DE',
viewport: { width: 1440, height: 1000 },
});
const page = await context.newPage();
await page.goto(productUrl, { waitUntil: 'domcontentloaded' });
// If necessary, choose the desired currency using the retailer's own UI.
// Replace this example interaction with a real, supported site control.
// await page.getByRole('button', { name: /currency|region/i }).click();
// await page.getByRole('option', { name: /EUR|euro/i }).click();
await page.getByRole('heading', { name: expectedProduct }).waitFor();
// Replace with a locator for this store's actual price/currency display.
const price = page.locator('[data-testid="product-price"]');
await price.waitFor({ state: 'visible' });
const displayedPrice = await price.innerText();
console.log('Displayed price:', displayedPrice);
// Check displayedPrice and the page's currency indicator before capture.
await page.screenshot({ path: 'product-de-DE.png', fullPage: false });
await context.close();
} finally {
await browser.close();
}
shop.example, the product name, and [data-testid="product-price"] are illustrative placeholders, not a tested retailer URL or selector. For a real store, identify its product heading, price, and currency indicator and wait for those specific elements. Do not treat the example’s wait as proof that a particular store has finished updating its price.
3. Select and verify the store currency
- Open the real product URL after creating the locale-configured context.
- If the retailer provides a region or currency control, use that supported control and select the requested market or currency. The interaction is store-specific.
- Wait for the product name, price, and currency indicator to appear and settle. Prefer a condition tied to the page’s actual content over an arbitrary delay.
- Inspect the displayed price and currency before saving. A symbol alone can be ambiguous; use a currency code or the store’s selected-region indicator where available.
Playwright provides browser-context cookie APIs, but that alone does not establish that any specific retailer stores its currency choice in a cookie. If a store remembers a selection, determine its behavior from that store’s own interface rather than assuming a cookie name or format. See Playwright: BrowserContext cookies.
Rank #2
- YOUR CONTENT, SUPER SMOOTH: The ultra-clear 6.7" FHD+ Super AMOLED display of Galaxy A17 5G helps bring your content to life, whether you're scrolling through recipes or video chatting with loved ones.¹
- LIVE FAST. CHARGE FASTER: Focus more on the moment and less on your battery percentage with Galaxy A17 5G. Super Fast Charging powers up your battery so you can get back to life sooner.²
- MEMORIES MADE PICTURE PERFECT: Capture every angle in stunning clarity, from wide family photos to close-ups of friends, with the triple-lens camera on Galaxy A17 5G.
- NEED MORE STORAGE? WE HAVE YOU COVERED: With an improved 2TB of expandable storage, Galaxy A17 5G makes it easy to keep cherished photos, videos and important files readily accessible whenever you need them.³
- BUILT TO LAST: With an improved IP54 rating, Galaxy A17 5G is even more durable than before.⁴ It’s built to resist splashes and dust and comes with a stronger yet slimmer Gorilla Glass Victus front and Glass Fiber Reinforced Polymer back.
Choose what the screenshot includes
Viewport or full page
page.screenshot() captures the visible viewport by default. Set fullPage: true to capture the full scrollable page:
await page.screenshot({ path: 'product-full.png', fullPage: true });
Use a viewport capture when the purchase details fit on screen; use a full-page capture when the page context or details lower down matter. Full-page capture can produce a tall image, and content that loads only after scrolling may need additional site-specific handling. See Playwright: Page screenshot options.
Viewport, scale, and personal data
Set the viewport in browser.newContext() before navigation when consistent layout matters. A different viewport can change responsive page layout. Playwright screenshot options also support image output settings, scale, and masking. Mask account-specific or personal details before sharing a capture; do not publish customer or account data inadvertently.
Rank #3
- Charger NOT Included, 6.7" Super AMOLED FHD+, 90Hz Refresh Rate, 385 ppi, 800 nits (HBM), 1080x2340px, 5000mAh Battery
- 128GB, 4GB RAM, microSDXC, Exynos 1330 (5nm), Octa-Core, Mali-G68 MP2 or Mali-G57 MC2 GPU
- Rear Camera: 50MP, f/1.8 (wide) + 5MP, f/2.2 (ultrawide) + 2MP, f/2.4 (macro), LED flash, panorama, HDR; Front Camera: 13MP, f/2.0, Android 14, up to 6 major Android upgrades, One UI 6.1
- 3G: HSDPA 850/900/1700(AWS)/1900/2100; 4G LTE: 1/2/3/4/5/7/12/13/14/20/25/26/28/29/30/38/39/40/41/48/66/71, 5G: 2/5/25/41/66/71/77/78 SA/NSA/Sub6/mmWave - Nano-SIM + eSIM
- US Model – Global Connectivity – Compatible with Most GSM Carriers like T-Mobile, AT&T, MetroPCS, etc. Will Also work with CDMA Carriers Such as Verizon, Straight Talk.
Timezone is separate
Set a browser timezone only when the page includes time-sensitive or timezone-dependent content. Timezone configuration is separate from locale, and browser timezone emulation does not set the test runner’s timezone.
Check the result before using it
- Product identity: the screenshot shows the intended product and variant.
- Currency: the displayed price and currency indicator match the requested currency; do not infer success from locale alone.
- Formatting: language and number formatting are appropriate for the selected locale.
- Completeness: product images and relevant purchase information have loaded.
- Clarity: consent dialogs, popups, or other overlays do not obscure the details you need.
- Privacy: account, customer, or other sensitive information is removed or masked before sharing.
Troubleshooting
The page uses the right language but the wrong currency
Locale configures browser language and formatting behavior, not a universal store-currency override. Use the retailer’s region or currency selector, wait for its selection to take effect, and verify the displayed currency and price.
The price is missing or stale
Product data may be rendered asynchronously after the initial document loads. Wait for the actual product and price elements, and, if the site updates price after a region selection, wait for that update before capturing. Replace generic selectors with locators for the store you are using.
Rank #4
- YOUR CONTENT, SUPER SMOOTH: The ultra-clear 6.7" FHD+ Super AMOLED display of Galaxy A17 5G helps bring your content to life, whether you're scrolling through recipes or video chatting with loved ones.¹
- LIVE FAST. CHARGE FASTER: Focus more on the moment and less on your battery percentage with Galaxy A17 5G. Super Fast Charging powers up your battery so you can get back to life sooner.²
- MEMORIES MADE PICTURE PERFECT: Capture every angle in stunning clarity, from wide family photos to close-ups of friends, with the triple-lens camera on Galaxy A17 5G.
- NEED MORE STORAGE? WE HAVE YOU COVERED: With an improved 2TB of expandable storage, Galaxy A17 5G makes it easy to keep cherished photos, videos and important files readily accessible whenever you need them.³
- BUILT TO LAST: With an improved IP54 rating, Galaxy A17 5G is even more durable than before.⁴ It’s built to resist splashes and dust and comes with a stronger yet slimmer Gorilla Glass Victus front and Glass Fiber Reinforced Polymer back.
The screenshot layout changes between runs
Specify a fixed viewport before navigation. Responsive layouts may differ at other dimensions, so keep viewport dimensions consistent when comparing captures.
The full-page image omits content
Full-page mode captures the scrollable page, but content triggered by scrolling or otherwise loaded lazily may require site-specific interaction or waiting before capture. Confirm the saved image rather than assuming all content loaded.
A remembered currency choice is inconsistent
Do not assume how the retailer persists its choice. Start with a fresh context for a clean run, select the currency through the site UI, and inspect the resulting page. Use cookie APIs only when you have established that the particular site’s behavior requires them.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Best Value
- Carrier: This phone is locked to Tracfone, which means this device can only be used on the Tracfone wireless network. Tracfone plan required, activating is easy, just 3 steps.
- DISPLAY: Immersive viewing on a 6.7-inch super-bright 120Hz display with powerful stereo speakers and Bass Boost for cinematic entertainment.
- CAMERA SYSTEM: Advanced 50MP Quad Pixel camera captures sharp, detailed photos and videos in any lighting condition
- PERFORMANCE: Lightning-fast 5G connectivity paired with a powerful processor and RAM Boost for smooth multitasking.
- BATTERY LIFE: Long-lasting 5000mAh battery with TurboPower charging technology delivers hours of power in minutes.
Or skip the browser setup
For a one-request capture, ScreenshotNeo accepts a URL and returns an image or PDF. For example, this cURL command saves a WebP screenshot of the product page:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://shop.example/product -o product.webp
See the ScreenshotNeo API documentation for request options. ScreenshotNeo can accept cookie or consent banners like a visitor and remove more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each of those steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers report the page verdict and billing status. 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 screenshots.
Sign up for ScreenshotNeo’s free plan.
ScreenshotNeo captures the page at the URL supplied; it does not make browser locale a universal way to force a merchant’s currency. Set and verify a retailer’s currency through its own supported controls when that distinction matters.
Frequently Asked Questions
How do I set browser locale in Playwright?
Pass a locale such as en-GB or de-DE in the options to browser.newContext() before navigating to the page.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchHow do I take a screenshot of a product page in another currency?
Set the browser locale if you need its language or formatting behavior, choose the currency using the retailer’s region or currency control, and verify the price and currency indicator before capturing.
Quick Recap
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.

