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

To screenshot a site as it appears in another country, first identify what “country” means for the behavior you are testing. Use Playwright geolocation for pages that read the browser’s location API, locale and timezone settings for language and date/time presentation, and an authorized network connection that exits in the target country for IP-based content. These controls are independent, so a browser set to French coordinates is not proof that the request came from France.

This guide shows a repeatable Playwright workflow, explains when a country-origin network route is required, and covers capture consistency, labeling, failure diagnosis, and an API alternative.

Choose the country signal you need to test

Websites can make different decisions from different signals. Decide the behavior before opening a browser, then change only the variables relevant to that question.

Method What it exercises Use it when Limitation
Browser geolocation emulation Coordinates returned by the browser geolocation API Testing location permission flows or UI that calls navigator.geolocation It does not establish the country of network egress.
Locale and timezone Browser language negotiation, formatting, and time-dependent presentation Testing translations, currency/date formatting, or local-time messaging It does not change the source IP.
Country-origin network route IP-based targeting and restrictions Testing content selected from the visitor’s network country Requires an authorized, working endpoint; availability and accuracy depend on that environment.
Automated Playwright capture A repeatable configured browser and screenshot assertion Regression suites and recurring comparisons Rendering can still vary by host OS, browser version, hardware, power state, and headless mode.
Manual/local capture One-off visual inspection A quick check of a few locations Harder to reproduce unless every condition is recorded.

Playwright documents geolocation, locale, timezone, permissions, device profiles, and viewport controls in its Emulation documentation. Its locale and timezone options affect the browser context, not the test runner’s own timezone.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
TP-Link ER605, Wired Gigabit VPN Router
  • 【Five Gigabit Ports】1 Gigabit WAN Port plus 2 Gigabit WAN/LAN Ports plus 2 Gigabit LAN Port. Up to 3 WAN ports optimize bandwidth usage through one device.
  • 【One USB WAN Port】Mobile broadband via 4G/3G modem is supported for WAN backup by connecting to the USB port. For complete list of compatible 4G/3G modems, please visit TP-Link website.
  • 【Abundant Security Features】Advanced firewall policies, DoS defense, IP/MAC/URL filtering, speed test and more security functions protect your network and data.
  • 【Highly Secure VPN】Supports up to 20× LAN-to-LAN IPsec, 16× OpenVPN, 16× L2TP, and 16× PPTP VPN connections.
  • Security - SPI Firewall, VPN Pass through, FTP/H.323/PPTP/SIP/IPsec ALG, DoS Defence, Ping of Death and Local Management. Standards and Protocols IEEE 802.3, 802.3u, 802.3ab, IEEE 802.3x, IEEE 802.1q

Set up a reproducible test matrix

  1. Define the target. Write down the country, URL, and expected behavior: browser-location prompt, translated copy, local time, IP restriction, or a combination.
  2. Freeze session assumptions. Use the same account state, cookies, consent choice, viewport, browser, and capture timing for every comparison. A logged-in user and a first-time visitor may receive different content.
  3. Separate signals. Run one capture with geolocation only, one with locale/timezone, and one through the country-origin network route when IP targeting matters. This makes the cause of a visual change diagnosable.
  4. Record the environment. Put the URL, UTC timestamp, target country, browser-versus-network location method, locale, timezone, viewport/device, browser version, and session state in the filename or a sidecar record.

Capture a country-specific page with Playwright

Install Playwright in a Node.js project, then download a browser:

npm install -D playwright
npx playwright install chromium

The following script emulates Tokyo coordinates, Japanese locale, and Japan Standard Time. Replace the URL and values for another test. The permission grant is required when the page asks for browser geolocation.

const { chromium } = require('playwright');

(async () => {
  const browser = await chromium.launch({ headless: true });
  const context = await browser.newContext({
    locale: 'ja-JP',
    timezoneId: 'Asia/Tokyo',
    viewport: { width: 1440, height: 900 },
    geolocation: { latitude: 35.6762, longitude: 139.6503 },
    permissions: ['geolocation']
  });

  const page = await context.newPage();
  await page.goto('https://example.com', { waitUntil: 'networkidle' });
  await page.screenshot({ path: 'example-tokyo.png', fullPage: true });
  await browser.close();
})();

Run it with node capture.js. For a mobile comparison, use a deliberate device profile rather than changing width alone:

const { devices } = require('playwright');
const context = await browser.newContext({
  ...devices['iPhone 13'],
  locale: 'en-GB',
  timezoneId: 'Europe/London',
  geolocation: { latitude: 51.5072, longitude: -0.1276 },
  permissions: ['geolocation']
});

Playwright also supports configuring these options globally or at narrower project and test scopes; the configuration documentation shows those scopes. Keep one scope consistent across a baseline and its comparison.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
GL.iNet GL-SFT1200 Opal Travel Router, AC1200 Dual-Band Wi-Fi
  • 【AC1200 Dual-band Wireless Router】Simultaneous dual-band with wireless speed up to 300 Mbps (2.4GHz) + 867 Mbps (5GHz). 2.4GHz band can handles some simple tasks like emails or web browsing while bandwidth intensive tasks such as gaming or 4K video streaming can be handled by the 5GHz band.*Speed tests are conducted on a local network. Real-world speeds may differ depending on your network configuration.*
  • 【Easy Setup】Please refer to the User Manual and the Unboxing & Setup video guide on Amazon for detailed setup instructions and methods for connecting to the Internet.
  • 【Pocket-friendly】Lightweight design(145g) which designed for your next trip or adventure. Alongside its portable, compact design makes it easy to take with you on the go.
  • 【Full Gigabit Ports】Gigabit Wireless Internet Router with 2 Gigabit LAN ports and 1 Gigabit WAN ports, ideal for lots of internet plan and allow you to connect your wired devices directly.
  • 【Keep your Internet Safe】IPv6 supported. OpenVPN & WireGuard pre-installed, compatible with 30+ VPN service providers. Cloudflare encryption supported to protect the privacy.

When you need a real country IP

Many services infer country from the connection’s public IP before page JavaScript runs. Playwright’s geolocation setting controls the browser API; its documentation does not claim to route requests through that country. Therefore, use a permitted test connection whose egress is in the target country, then verify the observed result. Do not describe a geolocation-only screenshot as proof of what a local-network visitor sees.

  • Keep the network route separate from browser coordinates when isolating causes.
  • Use an endpoint approved for your organization and for the site being tested.
  • Check that DNS, redirects, authentication, and third-party calls behave through that route.
  • Record the egress country and method with the screenshot; an IP database or site response can disagree with the endpoint’s label.

For region-locked services, respect their terms and access controls. A route that works for one domain does not establish that every service will classify it identically.

Make screenshots comparable

Capture timing is part of the test. Wait for a selector that signals the relevant component, a known delay for an animation, or network idle where that is appropriate. Avoid arbitrary waits as a universal rule: pages differ in how they load ads, personalization, and late images.

  • Use the same browser engine and version for all locations.
  • Keep viewport, device scale, color scheme, reduced-motion preference, and font availability constant unless they are the variable under test.
  • Use a fresh context when testing first-visit behavior; reuse a documented context when testing an existing session.
  • Capture after consent and other overlays are in the same state.

Playwright’s visual-comparison guidance warns that operating system, browser version, hardware, power state, and headless mode can alter rendering. Keep those conditions stable and document them in your artifact metadata. See the visual comparisons documentation.

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.
Rank #3
Sale
ASUS RT-AX1800S Dual Band WiFi 6 Extendable Router, Subscription-Free Network Security, Parental Control, Built-in VPN, AiMesh Compatible, Gaming & Streaming, Smart Home
  • New-Gen WiFi Standard – WiFi 6(802.11ax) standard supporting MU-MIMO and OFDMA technology for better efficiency and throughput.Antenna : External antenna x 4. Processor : Dual-core (4 VPE). Power Supply : AC Input : 110V~240V(50~60Hz), DC Output : 12 V with max. 1.5A current.
  • Ultra-fast WiFi Speed – RT-AX1800S supports 1024-QAM for dramatically faster wireless connections
  • Increase Capacity and Efficiency – Supporting not only MU-MIMO but also OFDMA technique to efficiently allocate channels, communicate with multiple devices simultaneously
  • 5 Gigabit ports – One Gigabit WAN port and four Gigabit LAN ports, 10X faster than 100–Base T Ethernet.
  • Commercial-grade Security Anywhere – Protect your home network with AiProtection Classic, powered by Trend Micro. And when away from home, ASUS Instant Guard gives you a one-click secure VPN.

Useful capture patterns

Capture one element

await page.locator('[data-testid="pricing"]').screenshot({ path: 'pricing.png' });

Save a visual baseline

await expect(page).toHaveScreenshot('home-japan.png', { fullPage: true });

Use a separate baseline name for each location and device. A single “home.png” baseline can hide which conditions produced it.

Capture after a location-dependent action

await page.getByRole('button', { name: 'Use my location' }).click();
await page.waitForSelector('[data-location-ready="true"]');
await page.screenshot({ path: 'after-location.png', fullPage: true });

Or skip the browser setup:

ScreenshotNeo is a website screenshot API and MCP server. Its clean-shot workflow accepts cookie and consent banners before capture and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each step can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and the response identifies the page verdict and billing status in X-Page-Verdict and X-Billed headers. For an IP-country test, send the request through your authorized country-origin connection; the API call itself does not replace that network requirement.

The API supports full-page captures with lazy images, CSS-selector element shots, dark mode, 12 device presets or any viewport, retina scale, PDF output, custom CSS and JavaScript, clicks, selector/delay/network-idle waits, request/resource blocking, headers, cookies, user agents, Authorization, timezone, geolocation, transparent backgrounds, resizing, configurable-TTL caching, signed image links, asynchronous jobs and webhooks, bulk capture of 100 URLs per call, usage reporting, and an OpenAPI specification. Its MCP server exposes take_screenshot, get_page_info, and capture_pdf to Claude, Cursor, and other MCP clients.

One call returns an image or PDF. See the complete parameter reference in the ScreenshotNeo documentation.

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://stripe.com -o shot.webp
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

The Free plan includes 1,000 shots per month with no card. Paid plans start at $5 for 3,000 shots; every feature is on every plan. Create a free ScreenshotNeo account to get started.

Rank #4
Sale
GL.iNet GL-BE3600 Slate 7 Wi-Fi 7 Travel Router Touchscreen 2.5G
  • 【DUAL BAND WIFI 7 TRAVEL ROUTER】Products with US, UK, EU, AU Plug; Dual band network with wireless speed 688Mbps (2.4G)+2882Mbps (5G); Dual 2.5G Ethernet Ports (1x WAN and 1x LAN Port); USB 3.0 port.
  • 【NETWORK CONTROL WITH TOUCHSCREEN SIMPLICITY】Slate 7’s touchscreen interface lets you scan QR codes for quick Wi-Fi, monitor speed in real time, toggle VPN on/off, and switch providers directly on the display. Color-coded indicators provide instant network status updates for Ethernet, Tethering, Repeater, and Cellular modes, offering a seamless, user-friendly experience.
  • 【OpenWrt 23.05 FIRMWARE】The Slate 7 (GL-BE3600) is a high-performance Wi-Fi 7 travel router, built with OpenWrt 23.05 (Kernel 5.4.213) for maximum customization and advanced networking capabilities. With 512MB storage, total customization with open-source freedom and flexible installation of OpenWrt plugins.
  • 【VPN CLIENT & SERVER】OpenVPN and WireGuard are pre-installed, compatible with 30+ VPN service providers (active subscription required). Simply log in to your existing VPN account with our portable wifi device, and Slate 7 automatically encrypts all network traffic within the connected network. Max. VPN speed of 100 Mbps (OpenVPN); 540 Mbps (WireGuard). *Speed tests are conducted on a local network. Real-world speeds may differ depending on your network configuration.*
  • 【PERFECT PORTABLE WIFI ROUTER FOR TRAVEL】The Slate 7 is an ideal portable internet device perfect for international travel. With its mini size and travel-friendly features, the pocket Wi-Fi router is the perfect companion for travelers in need of a secure internet connectivity on the go in which includes hotels or cruise ships.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot country screenshots

The page shows the same country every time

Check whether the site uses IP targeting rather than browser coordinates. Run the test through an authorized target-country egress and compare the response, redirects, and any country cookie separately from the geolocation run.

The geolocation prompt never appears

Confirm that the context grants geolocation permission, the page is served in a secure context, and the test reaches the code path that calls the browser API. A page may use stored consent or account data instead.

Language changes but prices do not

Locale affects browser language and formatting; it does not guarantee IP-based catalog, currency, tax, or eligibility changes. Test the network signal and inspect the application’s documented account and cookie rules.

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.

Screenshots differ between machines

Standardize browser and OS conditions, fonts, viewport, device scale, headless mode, and power state. Disable animations where appropriate and use stable selectors for readiness. Playwright explicitly notes host-environment rendering differences in its visual-comparison guidance.

Best Value
Sale
TP-Link Dual-Band AX3000 Wi-Fi 6 Wireless Gigabit Internet Router for Home
  • Next-Gen Gigabit Wi-Fi 6 Speeds: 2402 Mbps on 5 GHz and 574 Mbps on 2.4 GHz bands ensure smoother streaming and faster downloads; support VPN server and VPN client¹
  • A More Responsive Experience: Enjoy smooth gaming, video streaming, and live feeds simultaneously. OFDMA makes your Wi-Fi stronger by allowing multiple clients to share one band at the same time, cutting latency and jitter.²
  • Expanded Wi-Fi Coverage: 4 high-gain external antennas and Beamforming technology combine to extend strong, reliable, Wi-Fi throughout your home.
  • Improved Battery Life: Target Wake Time helps your devices to communicate efficiently while consuming less power.
  • Improved Cooling Design: No heat ups, no throttles. A larger heat sink and redefined case design cools the WiFi 6 system and enables your network to stay at top speeds in more versatile environments.

The capture contains a banner or chat bubble

In Playwright, establish the same consent/session state or hide a selector only when that reflects your test. In ScreenshotNeo, its consent-acceptance and cleanup steps can remove supported banners, newsletter popups, and chat widgets before the shot; inspect the verdict headers when a page fails.

What to put beside every image

  • Exact URL and UTC capture time.
  • Target country and whether it came from browser geolocation, locale/timezone, network egress, or a combination.
  • Coordinates, locale, timezone, viewport or device profile, browser and version.
  • Account, cookie, consent, and authentication state.
  • Network route and any relevant response or redirect observed.

This record turns a visually interesting image into a reproducible test result and prevents readers from mistaking one emulated signal for another.

Frequently Asked Questions

Can I test several countries in one Playwright context?

Create separate browser contexts for each country so permissions, cookies, locale, timezone, and storage cannot leak between runs.

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

Does changing the browser language change a website’s legal region?

Not reliably. Language and formatting are browser signals; legal availability, catalog, tax, and access controls may depend on IP, account, cookies, or server policy.

How should I name screenshot files?

Include a stable slug plus country, signal, locale, timezone, viewport, and UTC timestamp, such as home-jp-ip-ja-JP-tokyo-1440×900-20260929T120000Z.png.

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.