iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Use Puppeteer’s Page.screenshot() after opening the Shopify storefront in Chromium. Set the viewport to the screen size you want to document, navigate to the store’s actual URL, and choose between a viewport image and a full-page capture. Puppeteer does not select India by itself: the page shown depends on the store’s market and language settings and the visitor context supplied by your browser session.
Capture a Shopify storefront with Puppeteer
The following ES module is a runnable starting point. Replace the example URL with the published storefront URL you want to capture. The 1365 × 900 viewport is illustrative, not an India-specific standard.
import puppeteer from 'puppeteer';
const browser = await puppeteer.launch();
try {
const page = await browser.newPage();
await page.setViewport({ width: 1365, height: 900 });
await page.goto('https://your-store.example', { waitUntil: 'networkidle2' });
await page.screenshot({ path: 'shopify-store.png', fullPage: true });
} finally {
await browser.close();
}
Puppeteer’s documented capture method is Page.screenshot(). The basic flow is to launch a browser, create a page, navigate to the storefront, and save the screenshot. See the Puppeteer screenshots guide.
Choose what the screenshot includes
Viewport or full page
Set fullPage: true to capture the full scrollable page; omit it or set it to false to capture only the visible viewport. The default is false. Full-page captures can produce tall files, so use a viewport capture when you only need to show the initial screen.
#1 Best Overall
- With Square Terminal, you can ring up sales, accept payments, and print receipts, all with one device. Use it at the counter or ring up customers anywhere in your store.
- Accept all major credit and debit cards and pay one low rate with no hidden fees and no long-term contracts.
- Process chip cards in just two seconds.
- Get your money as soon as the next business day.
- Use it cordlessly with the built-in battery, designed to last all day.
Viewport dimensions and clipping
Set the viewport before navigation when a particular rendered screen size matters. To compare desktop and mobile presentations, capture each at its intended viewport dimensions. Use the screenshot option clip to capture a particular region instead of the whole viewport. Puppeteer documents both viewport configuration and screenshot options in its viewport API and screenshot options.
File type
In the example, the .png extension determines the image type because no explicit type is provided. Choose a matching filename extension for the format you intend to save.
How to see the India-facing storefront
A Puppeteer screenshot records the page the browser actually renders; the screenshot API does not independently choose an Indian market. Shopify documents that a storefront can redirect customers to a location-matched experience when automatic redirection is enabled. It can also redirect according to browser language when a matching language is available. The result therefore depends on the store’s configuration and the visitor context.
Free tools Windows power users keep installed
One-click scans. No signup required.
Rank #2
- Use the, easy-to-use, and customizable POS to get started.
- Accept contactless payments, chip cards, Apple Pay, and Google Pay from anywhere, with improved connectivity, extended battery life, and enhanced security. Pay one low rate for every tap or dip.
- No long-term commitments or contracts, no monthly fees- and with offline payments, keep taking payments for up to 24 hours.
- Safely and securely accepts payments anywhere. Plus, get data security, 24/7 fraud prevention, and payment-dispute management at no extra cost.
- Use the, easy-to-use, and customizable POS to get started.
- Use the intended storefront URL. If the store provides an India-specific market URL, start with that URL rather than assuming the root domain will show the desired market.
- Use the appropriate authorized browser session. If the store requires a particular session or visitor context, configure Puppeteer accordingly. The requirements differ by store; the screenshot itself does not establish which cookies, network or geolocation settings are needed.
- Inspect the rendered result. Check the country or market, language, currency and page content visible in the captured image rather than inferring the market from the URL alone.
Shopify describes market and language redirection in its documentation on directing customers to their local storefront. Its Storefront API also supports country and language context for API queries, but that API behavior does not determine what a browser screenshot will display.
Confirm the page is available on the Online Store
If you are capturing a specific product or other resource, make sure it is published to the Online Store sales channel. Shopify documents onlineStoreUrl as the URL used to view a resource in the Online Store; it may be null when the resource is not published there. For API-managed resources, check the Shopify Storefront API documentation and use the actual published storefront URL for the browser capture.
Compare captures consistently
When checking whether a storefront looks different across devices or markets, keep the variables that matter explicit:
Rank #3
- With Square Handheld, you can accept payments, take tableside orders, or scan barcodes anywhere. With a slim design and comfortable grip, the POS is easy to carry in your palm or pocket. Square Handheld is designed to withstand water splashes and dust. Add an optional protective case for accidental drops. A long-lasting battery and offline payments let you keep selling.
- Slim, pocketable, and lightweight so you can accept payments wherever your customers are.
- Take tableside orders, bust lines, or use the built-in barcode scanner, all with one sleek device.
- A battery that can power through your shift and offline payments let you keep selling, even if your internet is down.
- Accept all major credit and debit cards and pay one simple rate with no hidden fees and no long-term contracts required.
- Record the target URL and verify that the target page is published to the Online Store.
- Use the same viewport dimensions for captures you intend to compare directly; make separate captures for mobile and desktop.
- Note whether each image is viewport-only or full-page.
- Verify the market and language shown in the rendered page, since redirects can depend on store settings and browser context.
Troubleshooting
The screenshot shows the wrong country, market or language
Do not assume Puppeteer selected a region. Check the URL, the store’s automatic location and language redirection settings, and the browser session context. Then inspect the rendered page to confirm what the store served.
The product or content page is missing
Confirm that the resource is published to the Online Store and that you are using its valid storefront URL. Shopify notes that an unpublished resource may have no onlineStoreUrl.
The capture is cut off
For only the visible screen, ensure the viewport dimensions are set before navigation. To include content below the fold, set fullPage: true. To capture only a defined portion, configure clip.
Rank #4
- Frictionless Payments: The PayMate magnetic case safeguards your Shopify card reader while keeping it conveniently at hand for seamless mobile transactions.
- Compatible with MagSafe: Built-in magnets keep your card reader securely attached to your phone for hassle-free payments. (Compatible with MagSafe phones and cases or any phone/case when using the included metal ring.)
- Silicone surface protects your card reader while also providing a firm grip. The case offers shock-absorbing drop protection, with raised edges to keep the tap surface out of harm's way.
- Custom cutouts for the charging port, button, and card slot ensure the case won't interfere with functionality.
- Compatible with Shopify Tap & Chip Card Reader (NOT Compatible with use with Shopify dock).
The script fails before saving the file
Make sure Puppeteer is installed in the project and the script is run in an environment that supports its browser launch. Check the navigation target and the error reported by page.goto(); this example cannot diagnose store-specific access, session or network requirements.
Or skip the browser setup
ScreenshotNeo can capture a URL with one GET request. Its clean-shot flow accepts cookie or consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups and chat widgets before capture; those steps can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads and cache hits cost nothing, and response headers report the page verdict and billing status. It also offers an MCP server with screenshot tools for AI agents.
Recommended Free Tools
For an India-facing Shopify image, use the intended storefront URL and check the rendered result: ScreenshotNeo does not make a store’s market configuration select India automatically.
See the ScreenshotNeo API documentation for request options. This cURL example saves a WebP capture of the target URL:
Best Value
- Perfectly designed - Our shopping bag is designed to safely store for Shopify tap & chip card reader and its charging cable. With splash-proof outer material, you can rest assured that your valuable square card reader equipment is protected from accidental spills or moisture. Suitable size for credit card reader: 3.74*2.63*0.47inch. Note: we only sell the bag, card reader and small business stuff accessories are not included!
- Secure and stable - The built-in elastic strap ensures that the card reader for iphone stays in place even when it's being moved or transported. This means you can carry your pos systems for small business around with confidence without worrying about card swiper being damaged or lost.
- Holds more - There is a handy mesh pocket on the other side of the bag for storing the charging cable. This way, when you need to charge your credit card machine, you'll always have the charging cable handy without having to struggle to find it everywhere.
- Compact and small pop up shop essentials - The detachable handle is easy to carry and transport, ideal for on-the-go. Whether you run a mobile business or just need to take your credit card skimmer to a variety of locations, our bags offer a compact and convenient solution.
- Protect your mobile pos - Smooth zip closure gives you quick and easy access to your for shopify card reader and its accessories. Whether you're at a busy event, working in a retail shop, or processing transactions on the go, our pouches make it easy and safe to use your square card reader for android whenever and wherever you need it.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://your-store.example -o shot.webp
ScreenshotNeo includes 1,000 screenshots a month free with no card; paid plans start at $5 for 3,000. Sign up for free.
Frequently Asked Questions
How do I take a full-page screenshot with Puppeteer?
Set fullPage: true in the options passed to page.screenshot().
Does Puppeteer automatically show the India version of a Shopify store?
No. The screenshot captures what the browser renders; Shopify’s location and language redirects depend on store settings and visitor context.
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.

