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

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 a browser automation script to capture the product page, then use a scheduler to run that script once a day. Playwright can save a viewport, full-page, or selected-element screenshot; GitHub Actions can schedule a workflow, while Amazon CloudWatch Synthetics offers managed scheduled canaries. The example below uses Playwright and GitHub Actions, with the schedule set to 9:00 a.m. India Standard Time (IST).

What you need to decide first

A scheduler starts the job; browser automation visits the page and captures it. Before configuring either, settle what the image should show and where the files should go.

  • Capture scope: a viewport image records what is visible without scrolling; a full-page image covers the scrollable page; an element screenshot focuses on a chosen page element, such as a price panel.
  • Browser conditions: keep the viewport, capture scope, and other relevant browser settings consistent if you plan to compare images across days.
  • Output and retention: choose a date-based filename and a storage location, then decide how long to retain the images. A scheduler does not itself define an archive policy.
  • Access: check the retailer’s current terms and technical restrictions before repeatedly visiting its page. The retailer is not specified here, so permission for any particular site or use cannot be assumed.

Capture the page with Playwright

Install Playwright and its Chromium browser in a project, then save the following as capture.mjs. Set PRODUCT_URL to the exact product page you are permitted to access. This example captures the full scrollable page and writes a PNG named with the current UTC date.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
import { chromium } from 'playwright';
import { mkdir } from 'node:fs/promises';

const url = process.env.PRODUCT_URL;
if (!url) throw new Error('Set PRODUCT_URL to the product page URL.');

const date = new Date().toISOString().slice(0, 10);
const outputDir = 'screenshots';
await mkdir(outputDir, { recursive: true });

const browser = await chromium.launch({ headless: true });
try {
  const page = await browser.newPage({ viewport: { width: 1440, height: 1000 } });
  await page.goto(url, { waitUntil: 'domcontentloaded', timeout: 60000 });
  await page.screenshot({
    path: `${outputDir}/product-${date}.png`,
    fullPage: true
  });
} finally {
  await browser.close();
}

Install the dependency and browser, then run the capture locally to confirm the chosen URL, viewport, and output:

#1 Best Overall
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • 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
npm install playwright
npx playwright install chromium
PRODUCT_URL='https://example.com/product' node capture.mjs

Replace the example URL with the permitted target. Playwright documents saving screenshots to a file, returning image bytes, full-page capture, and screenshots of selected elements. Its description of a full-page screenshot is “a screenshot of a full scrollable page, as if you had a very tall screen and the page could fit it entirely.” See the Playwright screenshot documentation.

Choose the right capture mode

  • Viewport: omit fullPage: true to capture only the current viewport.
  • Full page: keep fullPage: true. Long pages can produce large images, and page content that loads only after scrolling may need separate handling.
  • One element: locate a stable CSS selector and call locator('YOUR_SELECTOR').screenshot({ path: 'element.png' }). Replace the selector with one that matches the intended element on the retailer’s current page; selectors can change when a site redesigns.

Wait for the content you actually need

The example waits for the initial DOM content, not for a particular price or inventory state. Ecommerce pages may populate product details later or render them through client-side scripts. If a stable selector exists, wait for it before taking the screenshot:

Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • 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
await page.goto(url, { waitUntil: 'domcontentloaded', timeout: 60000 });
await page.locator('YOUR_PRODUCT_SELECTOR').waitFor({ state: 'visible', timeout: 30000 });
await page.screenshot({ path: `${outputDir}/product-${date}.png`, fullPage: true });

Use a selector that represents the information you need, and test it against the actual page. There is no universal wait condition for every ecommerce site; a fixed delay can be too short on a slow page and unnecessarily long on a fast one.

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

Run it every day with GitHub Actions

GitHub Actions can trigger a workflow on a cron schedule. By default, scheduled workflows run in UTC; the schedule event also supports an IANA timezone. This workflow uses Asia/Kolkata for 9:00 a.m. IST daily. Create .github/workflows/daily-screenshot.yml:

Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • 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.
name: Daily product screenshot

on:
  schedule:
    - cron: '0 9 * * *'
      timezone: Asia/Kolkata
  workflow_dispatch:

jobs:
  capture:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 20
      - run: npm ci
      - run: npx playwright install --with-deps chromium
      - name: Capture product page
        env:
          PRODUCT_URL: ${{ secrets.PRODUCT_URL }}
        run: node capture.mjs
      - name: Upload screenshot
        uses: actions/upload-artifact@v4
        with:
          name: product-screenshot-${{ github.run_id }}
          path: screenshots/*.png
          retention-days: 30

Commit the workflow and add a repository secret named PRODUCT_URL containing the permitted product URL. workflow_dispatch allows a manual run from the repository’s Actions interface, useful for checking the setup before relying on the schedule. The artifact setting retains each uploaded run’s screenshot for 30 days; adjust it to fit your needs and current platform limits. Artifact retention is not a permanent archive.

GitHub warns that scheduled runs can be delayed during periods of high load, particularly near the start of an hour, and queued runs may be dropped under sufficiently high load. A scheduled workflow is suitable when a daily capture is enough and some timing variation is acceptable. If a capture must happen at an exact time, account for that limitation when choosing a scheduler. Consult GitHub’s current schedule event documentation for syntax and behavior.

Rank #4
Sale
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor
  • 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

Consider a managed scheduled canary on AWS

If you already use AWS and want a managed monitoring service rather than maintaining a scheduled workflow, CloudWatch Synthetics can run scheduled canaries. AWS documents browser automation support in Node.js and Python runtimes, scheduling with cron or rate expressions, and screenshot storage. Its sample code demonstrates navigating to a page and saving a screenshot. See the CloudWatch Synthetics documentation.

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

CloudWatch Synthetics and GitHub Actions differ in operational model: one is a managed canary service, while the other runs a workflow you configure. The cited documentation does not establish an equivalent service-level guarantee or a cost comparison, so evaluate current AWS pricing, configuration, monitoring needs, storage, and timing requirements before choosing. Neither option removes the need to verify that the target site permits your recurring visits.

Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【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.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

ScreenshotNeo provides a website screenshot API and MCP server. A single GET request can return a screenshot or PDF; for a daily job, put the request in your own scheduled workflow. The request below captures the supplied target URL:

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

See the ScreenshotNeo API documentation for setup and options. It accepts and removes cookie/consent banners, newsletter popups, and chat widgets before capture, with each step optional. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed, and responses include page-verdict and billing headers. Its MCP server offers take_screenshot, get_page_info, and capture_pdf for AI agents. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots.

Sign up for ScreenshotNeo’s free plan to get 1,000 screenshots a month with no card.

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

Troubleshooting a daily capture

  • No image is created: run the script locally and check that PRODUCT_URL is set and the workflow secret name matches. Confirm the job reaches the screenshot step.
  • The screenshot misses product details: wait for a selector tied to the needed content rather than relying only on initial navigation. Check whether the selector still matches the current page.
  • The output is blank or incomplete: verify the URL opens in the workflow’s browser environment and inspect the page’s load behavior. A site may block automation or require a session; do not bypass access controls.
  • The workflow did not run at the expected time: confirm the cron expression and timezone, then check the Actions run history. Scheduled GitHub workflows can be delayed or dropped under load.
  • Images are missing from long pages: full-page capture determines the screenshot area, but content loaded on scroll may require an approach tailored to that page. Test several runs before depending on the image.
  • Storage fills or images disappear: review artifact retention and download or copy files to an appropriate archive if you need longer retention. The schedule itself does not guarantee permanent storage.

Frequently asked questions

Can I capture a product price rather than the whole page?

Yes. Use Playwright’s element screenshot with a locator that identifies the price area, and wait for that locator to become visible before capturing.

Does a daily screenshot prove the price or stock was available to every shopper?

No. It records what the automated browser rendered at capture time under its specific conditions. It does not establish availability for other users, locations, accounts, or later moments.

Can I schedule at a different Indian local time?

Yes. Change the cron hour and minute to the desired time and retain the Asia/Kolkata timezone. Check GitHub’s current schedule documentation when editing the workflow syntax.

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.

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