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

Use a Playwright locator that matches the rendered price on the specific storefront, wait for the product state you need, then capture either that locator or the surrounding page. BigCommerce does not have one price selector that works across every theme and custom storefront, so inspect the page before choosing a locator.

1. Set up Playwright and open the product page

Install Playwright for Node.js and its browser binaries in your project:

npm init -y
npm install -D playwright
npx playwright install chromium

Save the following as screenshot-price.js. Replace the product URL and locator after inspecting the target store’s rendered markup.

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

(async () => {
  const browser = await chromium.launch({ headless: true });
  const page = await browser.newPage({
    viewport: { width: 1280, height: 900 },
    deviceScaleFactor: 1,
  });

  try {
    await page.goto('https://store.example.com/product/example/', {
      waitUntil: 'domcontentloaded',
    });

    // Replace this with a locator verified on the target storefront.
    const price = page.getByTestId('product-price');
    await price.waitFor({ state: 'visible' });
    await price.screenshot({ path: 'product-price.png' });
  } finally {
    await browser.close();
  }
})();

The example uses a test ID only as a placeholder for a locator contract your site actually provides. It is not a claim that BigCommerce pages universally expose product-price. Playwright’s locator guide recommends locators based on user-facing semantics or explicit test contracts and explains their auto-waiting and retry behavior.

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.
#1 Best Overall
Sale
Logitech Brio 101 Full HD 1080p Webcam for Streaming and Meetings - Black
  • Compatible with Nintendo Switch 2’s new GameChat mode
  • Auto-Light Balance: RightLight boosts brightness by up to 50%, reducing shadows so you look your best—compared to previous-generation Logitech webcams (1)
  • Privacy with a Slide: The integrated webcam cover makes it easy to get total, reliable privacy when you're not on a video call
  • Built-In Mic: The built-in microphone lets others hear you clearly during video calls
  • Easy Plug-And-Play: The Brio 101 works with most video calling platforms, including Microsoft Teams, Zoom and Google Meet—no hassle; it just works

2. Find and scope the right price locator

Inspect the product page in the browser’s developer tools, or use Playwright’s locator inspection tools, to identify the element that contains the displayed price. First determine which price you mean: a sale price, a regular price, a selected variant’s price, or another displayed amount. Then confirm that the locator matches the intended visible element.

  1. Prefer an accessible or user-facing locator when the markup supports one, such as a role and accessible name or a text-based locator.
  2. Use a test ID when the storefront team provides an explicit, stable testing contract for the price.
  3. Scope to the product context when the page contains several products or prices. Identify the relevant product container first, then locate the price inside it.
  4. Use a CSS selector only when inspection shows it is appropriate. Avoid assuming that a theme-specific class or deeply nested DOM path is stable.

For example, if a product card is exposed as a list item and its accessible name identifies the product, scope the search to that card before locating its price. The exact role, accessible name, and price locator depend on the page’s actual markup. Playwright discusses this scoping pattern in its locator documentation.

BigCommerce storefronts can use different theme templates, JavaScript, and assets, and custom storefronts can differ further. The rendered page—not the platform name—determines the selector that will work. See BigCommerce’s theme directory structure documentation.

Rank #2
Sale
Logitech C270 720p Webcam Plug-and-Play Wide Screen Video Calling - Black
  • Compatible with Nintendo Switch 2’s new GameChat mode
  • Crisp HD 720p/30 fps video calls with diagonal 55° field of view and auto light correction. Compatible with popular platforms including Skype and Zoom.
  • The built-in noise-reducing mic makes sure your voice comes across clearly up to 1.5 meters away, even if you’re in busy surroundings.
  • C270’s RightLight 2 feature adjusts to lighting conditions, producing brighter, contrasted images to help you look good in all your conference calls.
  • The adjustable universal clip lets you attach the camera securely to your screen or laptop, or fold the clip and set the webcam on a shelf. You’re always ready for your next video call.

3. Wait for the price that matters

Choose a readiness condition that reflects how this product page works. domcontentloaded means the initial document has been parsed; it does not guarantee that client-rendered product data, a selected option, or a price update is ready. Likewise, a generic navigation event may not mean the storefront has finished the work relevant to your capture.

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

Waiting for the intended price locator to become visible is a useful baseline. If selecting a variant changes the price, perform that selection first and wait for the updated price state before taking the screenshot. If the price is rendered only after another interaction or data request, wait for an observable condition tied to that behavior rather than adding an arbitrary delay as a substitute.

Use the intended locale and storefront state when prices are localized. BigCommerce’s Catalyst documentation describes locale selection and localized product data; confirm the behavior of the particular storefront you are capturing in its multi-language overview.

Rank #3
Sale
NexiGo N60 1080P Webcam with Microphone, Software Control & Privacy Cover, USB HD Computer Web Camera, Plug and Play, for Zoom/Skype/Teams, Conferencing and Video Calling
  • 【Full HD 1080P Webcam】Powered by a 1080p FHD two-MP CMOS, the NexiGo N60 Webcam produces exceptionally sharp and clear videos at resolutions up to 1920 x 1080 with 30fps. The 3.6mm glass lens provides a crisp image at fixed distances and is optimized between 19.6 inches to 13 feet, making it ideal for almost any indoor use.
  • 【Wide Compatibility】Works with USB 2.0/3.0, no additional drivers required. Ready to use in approximately one minute or less on any compatible device. Compatible with Mac OS X 10.7 and higher / Windows 7, 8, 10 & 11 / Android 4.0 or higher / Linux 2.6.24 / Chrome OS 29.0.1547 / Ubuntu Version 10.04 or above. Not compatible with XBOX/PS4/PS5.
  • 【Built-in Noise-Cancelling Microphone】The built-in noise-canceling microphone reduces ambient noise to enhance the sound quality of your video. Great for Zoom / Facetime / Video Calling / OBS / Twitch / Facebook / YouTube / Conferencing / Gaming / Streaming / Recording / Online School.
  • 【USB Webcam with Privacy Protection Cover】The privacy cover blocks the lens when the webcam is not in use. It's perfect to help provide security and peace of mind to anyone, from individuals to large companies. 【Note:】Please contact our support for firmware update if you have noticed any audio delays.
  • 【Wide Compatibility】Works with USB 2.0/3.0, no additional drivers required. Ready to use in approximately one minute or less on any compatible device. Compatible with Mac OS X 10.7 and higher / Windows 7, 10 & 11, Pro / Android 4.0 or higher / Linux 2.6.24 / Chrome OS 29.0.1547 / Ubuntu Version 10.04 or above. Not compatible with XBOX/PS4/PS5.

4. Capture the price or the surrounding context

Price-only evidence

When the price itself is the evidence, use locator.screenshot(). In the runnable example above, that captures the resolved price element to product-price.png. This produces a focused artifact, but only if the locator identifies the correct visible price.

Price with product context

When a reviewer needs to see which product the price belongs to, capture the page viewport instead:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
await page.screenshot({ path: 'product-page.png' });

For content outside the viewport, use full-page capture:

Rank #4
Sale
EMEET C960 1080P Webcam with Microphone, 2 Mics, 90° FOV, Computer Camera
  • 1080P Webcam with Cover for Video Calls - EMEET computer webcam provides design and Optimization for professional video streaming. Realistic 1920 x 1080p video, 5-layer anti-glare lens, providing smooth video. C960 computer camera delivers 1920x1080 video with fixed focus (11.8–118.1 inches), so as to provide a clearer image. C960 USB webcam has a cover and can be removed automatically to meet your needs for privacy. For optimal image performance, use the webcam in a well-lit environment.
  • Built-in 2 Omnidirectional Mics - EMEET webcam with microphone for desktop features 2 built-in omnidirectional microphones, picking up your voice to create clear audio for communication. When installing the webcam, select EMEET C960 as the default microphone input device in your computer and video applications and select C960 as the default device in Zoom/Teams and ensure microphone permissions are enabled for proper use. Please note that C960 does not include built-in speakers.
  • Automatic Light Adjustment - Automatic exposure adjustment is applied in EMEET HD webcam 1080p so that the streaming webcam can deliver stable image performance. EMEET C960 camera for computer also features color adjustment and exposure optimization to help you look your best. For optimal video quality, it is recommended to use the webcam in normal or well-lit environments and select suitable video settings in your application. Proper lighting helps achieve a clearer and more balanced image.
  • Plug-and-Play & Upgraded USB Connectivity - New C960 webcam features both USB Type-A & A-to-C adapter connections for wider compatibility. For stable performance, connect the webcam directly to the computer's main USB port and ensure the device is recognized correctly. If a hub or docking station is used, please ensure it provides sufficient power and stable data transmission, as limited ports may affect performance. 90° wide-angle lens captures more participants without frequent adjustments.
  • High Compatibility & Multi Application - C960 webcam for laptop is compatible with Windows 10/11, macOS 10.14+, and Android TV 7.0+. Not supported: Windows Hello, TVs, tablets, or game consoles. It works with Zoom, Teams, Facetime, Google Meet, YouTube and more. Please select C960 webcam as the default camera and microphone device in your application and ensure camera/microphone permissions are enabled, especially on macOS. (Tips: Incompatible with Windows Hello)
await page.screenshot({ path: 'product-page-full.png', fullPage: true });

You can also mask selected locators in a page screenshot when dynamic or private information should not appear in the artifact. Choose the masked elements based on the screenshot’s purpose. Playwright documents locator screenshots, page screenshots, image type and scale, full-page capture, and masking in the Page API.

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

5. Make screenshots comparable over time

For visual regression or repeated evidence capture, keep the browser and host conditions consistent. Playwright notes that screenshots can vary with the operating system, browser version, browser settings, hardware, power source, and headless mode. Fix the viewport and device scale factor as in the example, and also keep the browser version and execution environment stable where practical. See Playwright’s visual comparison guidance.

Choose a consistent output path and image type for your workflow. PNG is used in the example; Playwright’s screenshot APIs also document type and scale options. A screenshot of only the price is easier to compare as a focused element, while a page capture preserves context that may be needed to interpret the value.

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.
Best Value
Sale
Logitech C920x HD Pro PC Webcam Full 1080p/30fps Video - Black
  • Compatible with Nintendo Switch 2’s new GameChat mode
  • HD lighting adjustment and autofocus: The Logitech webcam automatically fine-tunes the lighting, producing bright, razor-sharp images even in low-light settings. This makes it a great webcam for streaming and an ideal web camera for laptop use
  • Advanced capture software: Easily create and share video content with this Logitech camera that is suitable for use as a desktop computer camera or a monitor webcam
  • Stereo audio with dual mics: Capture natural sound during calls and recorded videos with this 1080p webcam, great as a video conference camera or a computer webcam
  • Full HD 1080p video calling and recording at 30 fps. You'll make a strong impression with this PC webcam that features crisp, clearly detailed, and vibrantly colored video

6. Troubleshoot common failures

  • The locator times out or is not visible: Inspect the rendered page and confirm the locator matches the current product and locale. If a variant must be selected, select it before waiting for the price.
  • The screenshot contains the wrong price: Scope the locator to the intended product or price region and verify whether the page displays multiple amounts, such as regular and sale prices.
  • The screenshot is blank or incomplete: Do not assume navigation completion means the product state is ready. Wait for the specific price element or other observable condition that signals the needed content has rendered.
  • The selector breaks after a theme change: Reinspect the rendered markup and revise the locator. Prefer semantics or a maintained test contract over a brittle structural CSS or XPath path.
  • Images differ despite no intended product change: Check whether the browser, host operating system, browser version, settings, hardware, or headless mode changed. Keep the capture environment consistent for comparisons.
  • The displayed price uses an unexpected locale: Set or select the intended storefront locale before capture and verify the localized product state.

Or skip the browser setup

ScreenshotNeo can capture a URL with one GET request and return an image or PDF. Replace the URL below with the BigCommerce product page you want to capture; consult the ScreenshotNeo API documentation for the request options.

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 ScreenshotNeo’s free plan.

Frequently Asked Questions

Does every BigCommerce store use the same product-price selector?

No. The locator must be verified against the target storefront’s rendered markup; themes and custom storefronts can differ.

Should I use a locator screenshot or a full-page screenshot?

Use a locator screenshot for focused price evidence, and a page or full-page screenshot when product context or below-the-fold content matters.

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

Quick Recap

SaleBestseller No. 1
Logitech Brio 101 Full HD 1080p Webcam for Streaming and Meetings - Black
Logitech Brio 101 Full HD 1080p Webcam for Streaming and Meetings - Black
Compatible with Nintendo Switch 2’s new GameChat mode; Built-In Mic: The built-in microphone lets others hear you clearly during video calls
$24.99
SaleBestseller No. 2
Logitech C270 720p Webcam Plug-and-Play Wide Screen Video Calling - Black
Logitech C270 720p Webcam Plug-and-Play Wide Screen Video Calling - Black
Compatible with Nintendo Switch 2’s new GameChat mode
$16.89
SaleBestseller No. 5
Logitech C920x HD Pro PC Webcam Full 1080p/30fps Video - Black
Logitech C920x HD Pro PC Webcam Full 1080p/30fps Video - Black
Compatible with Nintendo Switch 2’s new GameChat mode; Fully compatible with Windows 11
$54.99

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.