Use Playwright to inspect the product page’s rendered markup, choose a locator that identifies the displayed price in its product context, wait for the store-specific price state, then capture either that locator or a larger page region. There is no single price selector or loading condition that works across every BigCommerce theme and custom storefront.
Choose what the screenshot needs to prove
Capture the smallest useful region. A price-only image is easier to inspect, while a product-context image helps a reviewer connect the amount to the correct item. Playwright supports locator screenshots and page screenshots; its page API also covers full-page capture, image type, scale, and masking options (Playwright Page API).
As an Amazon Associate I earn from qualifying purchases.
- Price evidence: screenshot the visible price locator.
- Product context: screenshot the viewport or a larger locator that includes the product name and price.
- Below-the-fold content: use a full-page screenshot if the relevant content is outside the initial viewport.
Inspect the storefront and identify the price
BigCommerce storefronts do not share one guaranteed price selector. Themes have templates, JavaScript, and assets that affect rendered markup, and custom storefronts can differ further (BigCommerce Stencil theme directory structure). Inspect the target page in the same locale and state you intend to document, then select the displayed price within the relevant product context.
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 errorsPrefer a locator based on accessible, user-facing semantics, or a test ID that the storefront deliberately maintains as a testing contract. Playwright recommends these approaches because locators support auto-waiting and retry-ability; deeply structural CSS and XPath selectors tend to depend on implementation details (Playwright locators).
#1 Best Overall
- 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
For a catalog, first narrow to the product card identified by its product name, then find the price within that card. On a product detail page, inspect the actual price markup and choose the locator that resolves to the displayed amount. Treat any CSS selector as specific to the store until verified against its rendered DOM.
Runnable Playwright example
This JavaScript example uses an accessible product heading to scope the price. Replace the URL, heading name, and price locator with values confirmed on your storefront. The sample assumes the product has a heading and that its price is exposed as text; neither markup pattern is guaranteed for every theme.
Rank #2
- 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
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch({ headless: true });
const page = await browser.newPage({
viewport: { width: 1440, height: 1000 },
locale: 'en-US',
});
try {
await page.goto('https://store.example.com/product/example/', {
waitUntil: 'domcontentloaded',
timeout: 30000,
});
// Scope selection to the intended product. Confirm these locators
// against the target store's rendered markup.
const product = page.getByRole('heading', { name: 'Example Product' })
.locator('..');
const price = product.getByTestId('product-price');
await price.waitFor({ state: 'visible', timeout: 15000 });
await price.screenshot({ path: 'product-price.png', type: 'png' });
} finally {
await browser.close();
}
})();
The parent traversal in this illustrative example is structural and may not match your DOM. Prefer a stable product-card or product-container locator when the page exposes one, or use the exact test ID/accessibility contract available in your storefront. If the page has no test ID, inspect its markup and use a verified locator rather than assuming product-price exists. Playwright’s locator guide describes text, role, and test-ID locators and the trade-offs of selector strategies.
Recommended Free Tools
To capture context instead of just the price, change the capture line to await page.screenshot({ path: 'product-page.png', type: 'png' });. For a full-page image, use await page.screenshot({ path: 'product-full-page.png', fullPage: true });. Locator and page screenshot options, including masking, are documented in the Page API.
Rank #3
- 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.
Wait for the right product state
A navigation event only tells you something about document loading; it does not establish that a theme’s price calculation, variant selection, or client-rendered content is ready. Wait for the specific visible price or another condition that represents the state you want to capture. The example waits for the price locator to become visible, but a store with variant or inventory updates may need an additional assertion tied to the selected state.
Set the storefront locale before navigation when localized product content matters. BigCommerce Catalyst documents locale selection and localized product data, but storefront implementations vary (BigCommerce Catalyst multi-language overview). Ensure the screenshot corresponds to the intended locale, currency, and selected variant rather than assuming the default page state is correct.
Rank #4
- 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
Make captures useful for comparison
- Keep viewport dimensions, browser version, operating system, and headless/headed mode consistent across captures. Playwright notes that rendering can vary with the host OS, browser version, settings, hardware, power source, and headless mode (Playwright visual comparisons).
- Choose an explicit output path and image type so the artifact is predictable. The example saves PNG; use another supported type only when it suits the workflow.
- Use locator capture for focused evidence and page capture when identification context is important. Avoid full-page output unless the relevant information is beyond the viewport.
- Mask changing or sensitive regions only when doing so is appropriate for the test or documentation purpose; page screenshot options support masking specified locators.
Troubleshoot common failures
- Locator times out: the selector may not exist in this theme, the wrong product may have been scoped, or the relevant variant has not rendered. Inspect the live DOM, verify the product context, and wait for the actual price state.
- Screenshot shows the wrong amount: confirm the product, selected options, locale, and currency before capture. If price changes after interaction, wait for a locator or assertion that reflects the intended selection.
- Image is blank or clipped: confirm the locator is visible and capture the intended element; use a page or larger-region screenshot when the price is laid out in a way that makes a tight crop unclear.
- Screenshots differ between runs: stabilize browser and host conditions, viewport, locale, and page state. Rendering can differ across environments, so an otherwise identical page may not produce pixel-identical output.
- Price exists only after scrolling: scroll the relevant content into view or use a full-page screenshot when broader page coverage is needed.
Or skip the browser setup
ScreenshotNeo is a website screenshot API and MCP server; see ScreenshotNeo. One GET request can return a screenshot or PDF. For a quick product-page capture, the cURL request below saves a WebP image. See the API documentation for options.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://store.example.com/product/example/ -o shot.webp
ScreenshotNeo removes cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are never billed. Its MCP server lets AI agents take screenshots, and the free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000. Sign up for free.
Frequently Asked Questions
Can I use the same price selector on every BigCommerce store?
No. Verify the locator against the target storefront’s rendered markup; themes and custom storefronts vary.
Best Value
- 【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.
Should I capture the price element or the whole page?
Capture the locator when the amount alone is sufficient; capture a larger region when product identity or surrounding context matters.
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.




