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

Use Selenium’s browser geolocation emulation, set the permission state if the page requests location, wait until the product page visibly shows its region and price, then save a screenshot. This reproduces a browser configuration—not necessarily the location or pricing inputs the retailer actually uses. Verify the visible location, currency, price, and availability, and record the conditions for every capture.

What Selenium can—and cannot—tell you about regional pricing

Selenium WebDriver controls a browser through a browser-specific driver. Its BiDi APIs can emulate latitude and longitude for a browsing context and set a site’s geolocation permission. That lets you observe how a page responds to a configured browser location.

It does not establish that geolocation alone determines a retailer’s price. A site may also use its own delivery-region selector, account or session state, cookies, locale, or other signals. Selenium’s documentation describes browser controls, not any retailer’s pricing algorithm. Treat each screenshot as evidence of what the page displayed under recorded conditions—not proof of why that price was shown.

Prepare a compatible Selenium and browser setup

Install the Selenium binding for your language and use a supported browser and corresponding driver. Selenium describes WebDriver as a language-neutral API and protocol; its setup guidance covers installing the binding, browser, and driver. See Selenium WebDriver getting started.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
MNN 15.6" FHD 60Hz Portable Monitor USB-C HDMI IPS HDR Gaming Laptop
  • Full HD Portable Monitor - MNN 15.6inch portable laptop monitor with 1920*1080 resolution, advanced IPS glossy screen support 178° full viewing angle, it renders accurate and bright color, draws you into the video or game with lifelike colors and amazing detail.It can effectively reduce blue light radiation damage, no flickering, eye-care, and make it easier to watch for a long time.A second monitor for working from home.
  • Double Type-C Port -For Plug & Play, the MNN monitor provides 2 Full Feature Type-C ports. Only One USB Type-C Cable is required to connect to the power supply & display signal transmission. NOTE: Your device should support thunderbolt 3.0 or USB 3.1 Type C DP ALT-MODE.which supports multiple connect ways to your laptops, PC, Phones, Macbooks, PS5/PS4, Xbox, and Switch.
  • Lightweight Ultra Slim for Travel - As a portable external monitor,MNN portable laptop monitor easily accommodate to every suitcase and backpack and stress-free when you are holding it for a long time. They are truly portable computer monitors for travelers, students, gamers,engineers, and everyone.
  • Give consideration to work and games - through multiple display modes [Copy Mode/Extended Mode/Second Screen Mode/Portrait Mode], we can bring you a clear second screen in the meeting, and expand the screen anytime and anywhere to improve work efficiency and improve the quality of life. Adjusting to HDR mode can upgrade the image to a new level, providing you with brighter highlights,deeper and more realistic colors, more realistic images, and amazing viewing/gaming experience.
  • Powerful Smart Cover - MNN portable external monitor can work in both landscape and portrait mode, can be used as a gaming monitor, screen extender for laptop or phone. Comes with a scratch-proof smart cover made of durable PU leather exterior, doubles as a stand, provides comprehensive protection for this portable computer monitor.

The examples below use Python’s Selenium BiDi API. The surfaced Selenium documentation is version-labelled 4.43.0 for BiDi emulation and permissions, and 4.50.0 for the common WebDriver screenshot API; these are not a single synchronized release snapshot. Check the API documentation against the Selenium version and browser in your environment before relying on exact method names or context setup.

Set a location, load the product, and capture it

Python workflow

This example shows the documented API shapes, but it is a workflow template rather than a tested, retailer-specific script. In particular, BiDi context and permission setup can vary with the installed Selenium and browser versions. Replace the sample URL, coordinates, origin, and page selectors with values for your authorized test.

from selenium import webdriver
from selenium.webdriver.common.bidi.emulation import GeolocationCoordinates
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By

product_url = "https://shop.example/product"
retailer_origin = "https://shop.example"

options = webdriver.ChromeOptions()
options.enable_bidi = True

driver = webdriver.Chrome(options=options)
try:
    # Apply the override to the active browsing context.
    context_id = driver.current_window_handle
    driver.emulation.set_geolocation_override(
        GeolocationCoordinates(latitude=40.7128, longitude=-74.0060),
        contexts=[context_id],
    )

    # If the page requests browser geolocation, grant it for the origin.
    # Exact session/context setup can vary by Selenium and browser version.
    # Use the installed version's BiDi permissions API for this step.

    driver.get(product_url)

    # Replace these example selectors with stable indicators on the retailer page.
    wait = WebDriverWait(driver, 30)
    wait.until(EC.visibility_of_element_located((By.CSS_SELECTOR, "[data-region]")))
    wait.until(EC.visibility_of_element_located((By.CSS_SELECTOR, "[data-price]")))

    driver.save_screenshot("product-location.png")
finally:
    driver.quit()

The explicit waits are examples: choose conditions that demonstrate the intended state, such as a visible region label and the current product price. Selenium’s documented coordinate API accepts latitude and longitude; use valid coordinates within the API’s documented ranges. The BiDi emulation API also exposes locale and timezone overrides when those browser settings matter, but neither is equivalent to routing network traffic through another country or selecting a retailer’s delivery region.

Rank #2
Sale
InnoView Portable Monitor, 15.6 Inch FHD 1080P HDMI USB C Second External Monitor for Laptop, Desktop, MacBook, Phones, Tablet, PS5/4, Xbox, Switch, Built-in Speaker with Protective Case
  • [Portable Monitor Laptop] InnoView laptop screen extender is no need of app and drivers! 15.6 in is a more suitable size for traveling or remote work. Suitable for traveler, student, gamer, engineer, and white-collar worker to connect HP laptop, Lenovo laptop, Dell laptop, Asus laptop, Macbook, iPhone, game console, tablet, PS, Xbox, etc. The laptop screen can expand the viewing area and be more efficient when playing games, working, meeting and studying
  • [Plug and Play] The travel monitor for laptop provides 2 full-function Type-C ports and 1 HDMI port to connect most devices. Only one USB-C cable is needed to connect the external display to computer, and it supports power pass-through reverse charging. Note: Your device should support Thunderbolt 3.0/4.0 or USB 3.1 Type-C DP ALT-MODE. If not, you can connect via HDMI and power cable(NOT INCLUDE IN THE PACKAGE)
  • [IPS FHD USB C Monitor] 15.6 inch portable screen with a resolution of 1920*1080P, made of A+ IPS screen, supports 178° full viewing angle, can present accurate and vivid colors. Combined with HDR, images and videos present realistic colors and amazing details. Low blue light can effectively reduce blue light radiation damage, no flicker, eye protection, making it easier for you to work and perform multiple tasks at the same time
  • [Versatile Cover and Stand] Equipped with a scratch-resistant smart protective cover made of durable PU leather, it can also be used as a stand when working. Two grooves are used to adjust the angle and fix the external monitor. It can also provide all-round protection for the 1080p monitor when going out or traveling, suitable for putting in a backpack to avoid squeezing. Optional landscape and portrait modes, save more desktop space
  • [Worry-free Purchase] Since the output power of each device is different, the screen may flicker or restart. You can power the laptop monitor to solve it. Provide a 30-day return policy and 18-month warranty (excluding external force damage). If you have any concerns, please let us know (displayed on the back of the monitor)

Set the geolocation permission separately

Overriding coordinates and setting permission are distinct operations. Selenium’s BiDi permissions API documents origin-scoped permission states of granted, denied, or prompt through set_permission. Set the permission required by the test for the retailer origin; otherwise a page may not receive the emulated location. Confirm the exact session and context arrangement in the Selenium version you install: Selenium Python BiDi permissions API.

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

cURL, Python, and Node.js alternatives for screenshot delivery

For Selenium, Python is the language used in the browser workflow above. These cURL, Python, and Node.js examples instead request a screenshot from ScreenshotNeo; they do not configure a Selenium browser or prove a retailer’s regional pricing behavior. For capture options and parameter details, see the ScreenshotNeo API documentation.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://shop.example/product -o shot.webp
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://shop.example/product"}, timeout=90)
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://shop.example/product' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

Wait for the actual regional state before capture

A successful driver.get() does not guarantee that a dynamically updated price has appeared. Selenium’s default page-load behavior waits for document.readyState to become complete, but JavaScript-driven changes can continue afterward. Wait for a meaningful page condition—such as the expected region indicator and price element—rather than using a fixed sleep as the only readiness check. See Selenium waits and Selenium browser options.

Rank #3
Sale
KYY Portable Monitor 15.6" 1080P Computer Monitor Screen Extender w/Cover
  • [ FHD 1080P PORTABLE MONITOR ]: KYY using a 15.6''(8.8"x14.2") advanced IPS screen with 178° wide viewing angle, Delivers 1920*1080 breathtaking viewing quality and HDR technology, KYY portable gaming monitor has excellent color rendering ability, provide you the clearer, smooth, excellent performance in gaming/multimedia. It can effectively reduce blue light radiation damage, no flickering, eye-care, and make it easier to watch for a long time
  • [ WIDE COMPATIBILITY ]: KYY portable monitor for laptop equipped with 2 Full Function Type-C ports and Mini-HDMI port, easy access to your favorite devices with 1 cable solution as long as your device support Thunderbolt 3 or 3.1 USB-Type-C, compatible with most laptop, smartphone, PC, PS4, XBOX and more.
  • [ ULTRA-SLIM PORTABLE DISPLAY ]: KYY USB C portable monitor features a 0.3inch ultra-slim profile(1.7lb), it is easy to slides into your bag, allows you to carry it everywhere, ideal for a simple on-the-go dual-monitor setup or extend your phone screen for movies or games. No driver needed and equipped with 3.5mm audio inputs and 2 built-in stereo speakers to enhance entertainment experience
  • [ DURABLE SMART COVER ]: Comes with a scratch-proof smart cover made of durable PU leather exterior, doubles as a stand, provides comprehensive protection and frameless magnetic design for this portable computer monitor. There are two grooves in the cover base to give at least some choice of viewing angle for your comfort for less cumbersome installation
  • [ LIGHTWEIGHT BUT POWERFUL ]: KYY portable external monitor can work in both landscape and portrait mode, can be used as a gaming monitor, screen extender for laptop or phone. It has a unique designed Premium gray metal appearance, 2 built-in speakers to play audio, a friendly menu control wheel for setting, and 24/7 professional support team

If a region selector must be used, operate the site’s visible selector or an authorized test mechanism, then wait until the page reflects the selection. Do not infer success merely because the browser accepted coordinates or navigation completed.

Choose the screenshot scope

The classic Python WebDriver API can save the current window as a PNG or return screenshot bytes. BiDi browsing-context capture can return a base64-encoded image and accepts viewport or document origin, with optional format and clipping. A viewport capture records the currently visible screen; document capture is intended to include page content beyond that viewport. An element screenshot can isolate a price area where supported, but include enough surrounding page context to identify the product and displayed region.

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

See the Selenium Python WebDriver API and Selenium BiDi browsing-context API for the methods and options supported by their documented versions.

Rank #4
Anyuse 15.6" FHD IPS USB-C HDMI Portable Monitor
  • 15.6" FHD Portable Monitor - Featuring a 1920*1080P resolution, 178°FULL viewing angle, HDR, and Low Blue Light Super Clear IPS A-grade screen, this Anyuse portable screen for laptop enhanced visual experience, reduces eye strain and fatigue.
  • Double Type-C Port -For Plug & Play - Anyuse portable monitor features 2 full-featured Type-C ports and 1 MINI HDMI port. You can easily access your favorite devices with just one USB Type-C or MINI HDMI cable. NOTE: Your device should support Thunderbolt 3.0/4.0 or USB 3.1 Type C DP ALT-MODE.
  • Portable & Light Weight - At just 1.37lbs and 0.04 inch thin, this portable laptop monitor is ultra-portable and perfect for on-the-go productivity or gaming. flexible to use anywhere you need a second screen for laptop. bringing you efficiency for meetings, work from home, and presentations.
  • Able to Balance Work and Play - With multiple display modes [copy mode/extension mode/second screen mode]. During meetings,it can copy your laptop's content as a second screen to share with others.At work, it can be used as a second extended screen to increase productivity. In life, adjusting to HDR mode can upgrade the image to a new level, providing you with brighter highlights, more realistic colors and images.Two built-in speakers provide an amazing viewing and gaming experience.
  • Wide Compatibility - Enjoy hassle-free plug-and-play functionality with the portable monitor. it is compatible with all devices equipped with HDMI and USB Type-C ports like laptops, PS, XBOX, SWITCH game consoles, No app or driver installation required.

Make location comparisons reproducible

Keep the test conditions stable across captures and distinguish what automation configured from what the page displayed. Save a metadata record beside each image or in a CSV/JSON log.

  • Product: URL and SKU or other product identifier.
  • Configured browser state: latitude and longitude, permission state, locale and timezone overrides, and any site-selected region.
  • Environment: browser and driver versions, viewport, and account and consent state.
  • Observed result: visible region, price and currency, plus delivery charge, displayed tax, and availability when shown.
  • Capture: timestamp, screenshot scope, and when the page’s price and region indicators met the wait condition.

These fields make runs easier to compare; they are not universal components of every retailer’s price. The page may use inputs your Selenium configuration does not reveal. Describe a result precisely—for example, “the page displayed this currency and price after the browser was configured with these coordinates”—rather than attributing the result to geolocation without evidence.

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

Handle cookies and saved region state cautiously

WebDriver cookie operations apply to the current browser context. Selenium’s cookie documentation says to navigate to the cookie’s domain before adding a cookie. The API also provides methods to add, inspect, and delete cookies. A retailer may store a selected country or postal code in a cookie or session, but names and meanings are site-specific. Prefer the visible location selector or an authorized test setup; do not assume an unknown cookie is a universal location switch or that editing one will change the price. See Selenium cookie interactions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
VILVA 15.6" FHD IPS USB-C HDMI Portable Monitor
  • Experience Unrivaled Visuals: Get the ultimate viewing experience with the VILVA Professional Portable Monitor! With its incredibly sharp 15.6 inch FHD IPS Screen, you'll get a 1920 x 1080 resolution that viewing experience. Get it now and start working smarter, not harder and get yourself the professional portable monitor today.
  • Truly Wide Compatibility: Lets you connect your laptop, PC, MAC, tablet, phone, XBOX, PS3/PS4/PS5, switches, and more via USB-C or HDMI Port-- deliver a stable connection and steady data transmission. Enjoy great sound with the built-in dual stereo speakers, perfect for your business trip, travel, or home entertainment gaming setup.
  • Durable Smart Cover: VILVA portable monitor has a high quality and durable metal material, which makes it shows a fine metal texture and high strength. Has magnetic leather smart cover that provides protection for the entire screen and easy to stand the portable monitor.
  • Look no further!: Get this portable monitor right Now, complete with magnetic cover, USB-C to USB-C cable, Mini HDMI to HDMI cable.

Troubleshooting common capture failures

The page shows the original region

  • Confirm the geolocation override was applied to the active browsing context and that the page was loaded after the override.
  • Check whether the retailer needs geolocation permission; coordinate emulation alone does not grant it.
  • Look for a site-level country, postal-code, or delivery-region selector. Follow the page’s displayed state rather than assuming browser location controls it.

The price is missing or stale in the screenshot

  • Replace a fixed delay with explicit waits for the visible price and region elements.
  • Confirm the selectors match the current page and that the page has not rendered a loading placeholder or an alternate currency state.
  • For client-rendered product pages, wait on a stable visible condition after navigation; document.readyState alone is not a guarantee of completed updates.

Permission or BiDi calls fail

  • Check that BiDi is enabled in browser options and that the binding and browser support the APIs used.
  • Verify the permission is set for the correct origin and that the installed Selenium version’s API expects the context/session setup shown in its documentation.
  • Consult the API documentation for the version actually deployed; the surfaced Selenium API pages carry different version labels.

A cookie cannot be added

  • Navigate to the cookie’s domain before using WebDriver to add it.
  • Use only a cookie obtained through an authorized and understood test flow. Its effect on location or pricing is retailer-specific.

The screenshot cuts off useful context

  • Decide whether the evidence needs the visible viewport or the full document and select the corresponding capture scope.
  • If capturing only a price element, include enough context in the artifact or companion metadata to identify the product and visible region.

Or skip the browser setup

ScreenshotNeo provides a website screenshot API and MCP server. Its one-call API can capture a page, but it does not replace the Selenium geolocation workflow for configuring browser coordinates or permissions.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://shop.example/product -o shot.webp

Cookie and consent banners, newsletter popups, and chat widgets are removed before capture; each cleanup step can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers report the page verdict and billing status. An MCP server provides take_screenshot, get_page_info, and capture_pdf tools for AI agents using Claude, Cursor, or another MCP client. The Free plan includes 1,000 shots a month with no card; paid plans start at $5 for 3,000 shots. Read the ScreenshotNeo API documentation, then sign up for 1,000 free screenshots a month with no card.

Frequently Asked Questions

Does changing Selenium’s geolocation guarantee a different product price?

No. It changes the browser’s emulated location, but the retailer may use other signals or a site-selected delivery region. Verify the page’s displayed state.

Can Selenium capture a full page instead of just the visible window?

Yes. The classic screenshot method captures the current window; BiDi browsing-context capture offers viewport and document origins. Check support in your installed Selenium and browser versions.

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.