Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →To run recurring website screenshots on a Raspberry Pi, set up the Pi for unattended access, use a browser automation tool that supports your Pi’s operating system and hardware, save each capture to a predictable path, and schedule the script. This guide uses Playwright for the capture and cron for a practical schedule; verify that your chosen Playwright browser installs and launches on your specific Pi before relying on it. The Raspberry Pi setup guide recommends Raspberry Pi OS Lite for a headless device and lets you configure networking and remote access in Raspberry Pi Imager. Raspberry Pi setup documentation
What you need before scheduling captures
- A Raspberry Pi model that can run your chosen browser automation stack. The available documentation does not establish a best model, minimum memory, or performance benchmark for this workload; check current package support for your board and OS.
- Boot storage, power, and network access. A case and Ethernet connection are optional depending on the installation. Raspberry Pi Imager can configure networking and remote access before first boot.
- A stable OS and browser environment. Raspberry Pi OS setup documents Chromium and Firefox as browser choices, but that does not guarantee every automation package release supports every browser binary or Pi architecture.
- A target URL you are authorized to access, a destination directory with sufficient storage, and a schedule appropriate to the page and your network.
For a Pi without a monitor or desktop, install Raspberry Pi OS Lite and enable SSH or Raspberry Pi Connect in Imager. Complete the first-boot setup, connect remotely, and update the system using the normal Raspberry Pi OS process. Record the OS, browser, automation package, and capture settings: browser rendering can change with the host OS, browser version, settings, hardware, power source, and headless mode. See Playwright’s visual comparison guidance.
As an Amazon Associate I earn from qualifying purchases.
Install and verify the browser automation stack
Playwright provides a Page API for navigation and screenshots, but its package and browser installation requirements change. Follow its current installation instructions for your selected language and check that the browser binary launches on the Pi’s operating system and architecture. Do not assume that a browser installed for ordinary desktop use is automatically compatible with your Playwright version.
This example uses Node.js and assumes that Node.js, Playwright, and a compatible Playwright browser have already been installed in the project directory. Run it interactively before creating a scheduled job.
#1 Best Overall
- Includes Raspberry Pi 5 with 2.4Ghz 64-bit quad-core CPU (8GB RAM)
- Includes 128GB Micro SD Card pre-loaded with 64-bit Raspberry Pi OS, USB MicroSD Card Reader
- CanaKit Turbine Black Case for the Raspberry Pi 5
- CanaKit Low Noise Bearing System Fan
- Mega Heat Sink - Black Anodized
Write a screenshot script
Save this as capture.js in your project directory. Replace the URL and output path. It creates the destination directory, navigates to the page, waits for the page load event, saves a full-page PNG, and closes the browser even if capture fails.
const { chromium } = require('playwright');
const fs = require('node:fs/promises');
const path = require('node:path');
async function main() {
const url = process.env.CAPTURE_URL || 'https://example.com';
const outputDir = '/home/pi/site-captures';
const outputPath = path.join(outputDir, 'latest.png');
await fs.mkdir(outputDir, { recursive: true });
const browser = await chromium.launch({ headless: true });
try {
const page = await browser.newPage({ viewport: { width: 1365, height: 900 } });
await page.goto(url, { waitUntil: 'load', timeout: 60000 });
await page.screenshot({ path: outputPath, fullPage: true, timeout: 60000 });
console.log(`Saved ${outputPath}`);
} finally {
await browser.close();
}
}
main().catch((error) => {
console.error(error);
process.exitCode = 1;
});
Use an absolute path rather than relying on the current working directory: schedulers often start jobs with a different working directory than an interactive shell. This script overwrites latest.png on each successful run. To keep a history, generate a unique filename per run, for example by adding an ISO timestamp, and arrange periodic cleanup so captures do not fill the storage device.
Choose the capture extent and output format
By default, a screenshot covers the visible viewport. Playwright’s Page API describes fullPage: true as taking “the full scrollable page, instead of the currently visible viewport.” Full-page captures are useful for archiving a long page, while viewport captures are often easier to compare at a fixed size and use less storage.
Free tools Windows power users keep installed
One-click scans. No signup required.
Rank #2
- Includes Raspberry Pi 5 16GB with 2.4Ghz 64-bit quad-core CPU (16GB RAM)
- Includes 128GB Micro SD Card pre-loaded with 64-bit Raspberry Pi OS, USB MicroSD Card Reader
- CanaKit Turbine Black Case for the Raspberry Pi 5
- CanaKit Low Noise Bearing System Fan
- Mega Heat Sink - Black Anodized
The screenshot API supports PNG, JPEG, and WebP; the filename extension determines the image type when it is inferred. You can also use clipping, choose a scale, control animation handling, and set a timeout. Consider the intended use before changing formats: images with the same visual content can have different storage sizes and quality characteristics. Consult the Playwright Page API for the current option names and behavior.
Wait for the content you actually need
waitUntil: 'load' waits for the page load event, but that does not guarantee every page has finished rendering dynamic content. If the target page fills in important content after load, wait for a page-specific selector before taking the screenshot, or use a carefully chosen fixed delay. Avoid using an arbitrary long delay for every site: it makes runs slower without proving that the content is ready. Pages that require authentication, show consent prompts, block automation, or load content asynchronously may need site-specific handling. Respect the site’s access controls and terms.
Test the script as the scheduled user
- Run the script manually from its project directory with the same account that will own the scheduled job. Set
CAPTURE_URLif using the environment variable override. - Confirm that
/home/pi/site-captures/latest.pngexists, opens correctly, and contains the intended viewport or full page. - Run it again after a reboot and through the actual scheduler. A script that works in an interactive shell can fail unattended if it depends on a shell profile, relative paths, unavailable environment variables, or permissions.
- Inspect the log and the output file after each initial scheduled run. Ensure the Pi can reach the site and that the destination directory remains writable.
Schedule recurring runs with cron
On Raspberry Pi OS, cron can run the script at a selected minute/hour cadence. Edit the crontab for the same account that successfully ran the script:
Rank #3
- CanaKit Raspberry Pi 5 Essentials Starter Kit
crontab -e
For example, to run at 06:30 every day, add one line, substituting the real project path, URL, and log path:
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
30 6 * * * CAPTURE_URL='https://example.com' /usr/bin/node /home/pi/screenshot-job/capture.js >> /home/pi/site-captures/capture.log 2>&1
Find the actual Node.js executable path with command -v node while logged into the scheduled account, and replace /usr/bin/node if needed. Cron uses the system’s configured local time; check the Pi’s time and timezone if the run is not occurring when expected. The example redirects standard output and errors into a log so failures are diagnosable.
Prevent overlaps and manage old files
If a capture sometimes takes longer than the interval between runs, avoid launching a second copy while the first is still running. On Raspberry Pi OS, you can wrap the command with flock if it is installed:
Rank #4
- All-in-One Complete Kit: This SANOOV RPi 5 bundle comes with Raspberry Pi 5 4GB RAM single board, active cooler, durable ABS case and screwdriver. No extra parts needed, ready to use right out of the box for beginners and hobbyists
- Powerful Single Board Computer: Equipped with 4GB RAM and high-performance processor, delivers fast running speed for 4K playback, AI projects, programming and daily computing tasks. SANOOV for raspberry pi 5 4GB is equipped with broadcom 64 quad-core Arm Cortex A76 processor with gigabit ethernet and upgraded with IEEE 802.11ac Wi-Fi, Bluetooth 5.0 dual-band 2.4Ghz and 5Ghz and Power Over Ethernet (POE). Upgrading delivers 2-3 x speed vs Pi 4, redefining the experience
- Efficient Active Cooler: Effectively lowers operating temperature and prevents performance throttling. Runs quietly even under long-time heavy load, ensures stable operation all day long. SANOOV RPi 5 4GB kit offer an active cooler, which combines an aluminium heatsink with a high-performance PWM fan. Active cooler is fully compatible with the Pi OS, which can effectively reduce the temperature of RPi5 and ensure its good performance during long-term high load operation
- Sturdy ABS Protective Case: Well-fitted for Raspberry Pi 5 board, can be secured with 4 screws to effectively protect the Pi 5 motherboard from damage, reserves full access to all ports and buttons. SANOOV uses ABS material to produce the case, which has a softer texture and feel. Meanwhile, SANOOV case adopts a layered design for easy disassembly and installation. (Tip: The Case cannot install M.2 HAT Add on Board and Solid State Drive!)
- Wide Application & Full Compatibility: Seamlessly compatible with official OS and mainstream peripheral accessories for Raspberry Pi 5. Whether you are a beginner, student, electronics hobbyist or professional developer, this all-in-one kit meets your diverse needs. It excels in IoT projects, robotics design, retro gaming devices, home media servers and other DIY creations. Backed by a large global community, you can easily find guides, technical support and shared projects online
30 6 * * * flock -n /tmp/site-capture.lock /usr/bin/node /home/pi/screenshot-job/capture.js >> /home/pi/site-captures/capture.log 2>&1
The lock file prevents a concurrent invocation from starting while the prior invocation holds the lock; test this command on your installation. For timestamped captures, define a retention policy and remove only files matching the capture naming pattern after confirming the cleanup command targets the intended directory. Keep enough recent output to detect intermittent failures without allowing unbounded storage growth.
Troubleshoot failed or inconsistent captures
| Symptom | Likely cause | What to check |
|---|---|---|
| The browser will not launch | The installed browser binary, Playwright version, OS, or Pi architecture is incompatible, or a required dependency is missing. | Follow the current Playwright installation guide for the selected OS and verify the installed browser launches under the scheduled account. |
| The script works manually but cron produces no image | The job may use a different working directory, executable path, environment, or account permissions. | Use absolute paths, set required environment variables in the crontab line, confirm file permissions, and read the redirected log. |
| The image is blank or missing dynamic content | The screenshot may happen before the page’s content is ready, or navigation may have failed. | Check navigation errors and logs; wait for a meaningful selector or choose an appropriate readiness condition for that site. |
| The screenshot stops before the bottom | The capture is limited to the viewport, or the page changes as it scrolls. | Set fullPage: true and check the resulting image. For unusually dynamic pages, inspect whether content appears only after interaction or scrolling. |
| Images differ between runs | Page content or rendering conditions changed, including browser/OS version, settings, hardware, power source, or headless mode. | Keep the capture environment and viewport stable, record version changes, and compare captures made under the same conditions. |
| Captures stop after storage fills | Repeated files or logs have accumulated. | Use a deliberate naming and retention policy, check available storage, and verify cleanup targets before enabling it unattended. |
Or skip the browser setup
ScreenshotNeo is a website screenshot API and MCP server. A GET request can return a screenshot or PDF without installing and maintaining a browser on the Pi. For example, save this cURL request to retrieve a WebP capture:
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallcurl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
See the ScreenshotNeo API documentation for authentication and options. Cookie and consent banners, newsletter popups, and chat widgets are removed before capture; each of those steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers indicate the page verdict and billing status. Its MCP server offers take_screenshot, get_page_info, and capture_pdf tools 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.
Best Value
- 【What you Get】You will get 1*Pi 5 8GB Single Board,1*RasTech Case,1*Active Cooler,1*Screwdriver,1*Installation instructions,12-month free warranty, lifetime service, 24-hour prompt and friendly response.
- 【More Connectors】There are two USB 3.0 ports(5Gbps simultaneously) and two USB 2.0 ports, which triple total bandwidth ,support any combination of up to two cameras or displays. Peak SD card performance is doubled through support for the SDR104 high-speed mode. It provides a smooth desktop experience for you. Offer Gigabit Ethernet and a PCIe interface, along with dual-band Wi-Fi and Bluetooth 5.0/BLE wireless capability. The RasTech Pi 5 Kit use the new 27W 5.1V 5A USB-C power connector.
- 【 Support Dual 4Kp60 Display 】Each of the two microHDMI sockets can control a 4K display at 60 Hertz, now support HDR, offering super HD video for media streaming projects. RPi 5 is the first RPi model that comes with a PCI Express port (PCIe 2.0 x1 with 500 MB/s) to attach SSDs (requires separate M.2 HAT).
- 【 Excellent Chips And Applications】Pi 5 is a full-size Pi computer using silicon built in-house at Pi. The RP1 “southbridge” provides the bulk of the I/O capabilities for Pi 5. Pi 5 is more friendly and convenient in the development of Internet of Things, Web development, machine identification, automatic control and other electronic equipment applications and network.
- 【 Faster CPU, Better GPU 】 Pi 5 features a Broadcom BCM2712 64-bit quad-core Arm Cortex-A76 processor running at 2.4GHz, it delivers a 2–3× increase in CPU performance relative to RaspberryPi 4. The 800MHz VideoCore VII GPU is compatible to OpenGL ES 3.1 and Vulkan 1.2, substantial uplift in graphics performance. Pi 5 Offers lightning-fast CPU speed, a PCI Express interface, a Real Time Clock (RTC) and a power button and runs significantly cooler than Pi 4.
Frequently Asked Questions
Can I use Chromium or Firefox on Raspberry Pi OS?
Raspberry Pi OS setup documents both as browser choices, but check that the specific browser and automation package versions support your board and operating system.
Can I keep a dated screenshot for every run?
Yes. Use a unique timestamp in the output filename and pair it with a retention policy so the archive does not grow without limit.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →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.




