To take a screenshot with Puppeteer on macOS, install the puppeteer package, let its install script download the compatible Chrome for Testing browser, then launch it from Node.js and call page.screenshot(). The current Puppeteer documentation lists Node.js 22.12 or later and supports Chrome for Testing on both macOS x64 and arm64. This guide follows Puppeteer 25.12.0 documentation current as of October 3, 2026; check the linked requirements if you use a later release.
Choose how Puppeteer will get Chromium
For the least configuration and the most predictable compatibility, use the full puppeteer package. Its install process downloads a recent Chrome for Testing build and chrome-headless-shell, which Puppeteer caches under $HOME/.cache/puppeteer by default. The official installation guide estimates the macOS browser download at about 170 MB; the exact size can vary by release. See Puppeteer’s installation guide.
As an Amazon Associate I earn from qualifying purchases.
Use puppeteer-core instead when you manage the browser yourself or connect to a remote browser. It does not download Chrome; you must configure a browser executable or a supported installation channel. That gives you control over the browser location and version, but Puppeteer does not guarantee compatibility with an independently managed executable. Its compatibility guarantee applies to the bundled browser. See LaunchOptions.
Recommended Free Tools
| Setup | Browser source | Compatibility responsibility |
|---|---|---|
puppeteer |
Chrome for Testing and headless shell downloaded during package installation | Puppeteer guarantees compatibility with its bundled browser. |
puppeteer-core |
A browser you manage, or a remote browser | You select and maintain the browser; compatibility with an alternate executable is your responsibility. |
Install Puppeteer and its browser on macOS
- Install a suitable Node.js version. For Puppeteer 25.12.0, the published system requirements specify Node 22.12 or later. Verify the current system requirements before choosing a different Puppeteer release.
- From your project directory, install the package. With npm, run
npm install puppeteer. The equivalent package-manager commands areyarn add puppeteer,pnpm add puppeteer, andbun add puppeteer. - Allow the browser download to finish. Puppeteer’s install script downloads the browser builds. The macOS Chrome for Testing download is listed at approximately 170 MB, so allow for that network transfer and disk use.
On macOS, the current requirements list Chrome for Testing support on both x64 and arm64. Puppeteer also requires unzip to unpack Chrome’s archive unless the optional yauzl dependency is installed.
#1 Best Overall
- FOR HOME, WORK, & SCHOOL – With an Intel processor, 14-inch display, custom-tuned stereo speakers, and long battery life, this Chromebook laptop lets you knock out any assignment or binge-watch your favorite shows..Voltage:5.0 volts
- HD DISPLAY, PORTABLE DESIGN – See every bit of detail on this micro-edge, anti-glare, 14-inch HD (1366 x 768) display (1); easily take this thin and lightweight laptop PC from room to room, on trips, or in a backpack.
- ALL-DAY PERFORMANCE – Reliably tackle all your assignments at once with the quad-core, Intel Celeron N4120—the perfect processor for performance, power consumption, and value (2).
- 4K READY – Smoothly stream 4K content and play your favorite next-gen games with Intel UHD Graphics 600 (3) (4).
- MEMORY AND STORAGE – Enjoy a boost to your system’s performance with 4 GB of RAM while saving more of your favorite memories with 64 GB of reliable flash-based eMMC storage (5).
Capture a screenshot with the bundled browser
Create an ES module file such as screenshot.mjs in the project where you installed Puppeteer. This example launches the bundled browser, opens a page at a fixed viewport, navigates to the target, writes a PNG, and closes the browser even if navigation or capture fails. It follows the documented launch, page, viewport, and screenshot flow.
import puppeteer from 'puppeteer';
const browser = await puppeteer.launch();
try {
const page = await browser.newPage();
await page.setViewport({ width: 1080, height: 1024 });
await page.goto('https://example.com');
await page.screenshot({ path: 'screenshot.png' });
} finally {
await browser.close();
}
Run it with node screenshot.mjs. The file screenshot.png will be written to the current working directory. Puppeteer’s getting started guide documents the launch and page setup, and the Page.screenshot() API documents screenshot capture and its options.
Rank #2
- Intel Processor Up to 2.80GHz, 4GB DDR4, 128GB Storage
- 15" FHD IPS Display, Intel UHD Graphics
- 1x USB Type C, 1 x USB Type A, 1x Headphone/Microphone Combo Jack, HDMI
- Fast WiFi and Bluetooth, Integrated Webcam
- Chrome OS, AC Charger Included, Pastel Silver
Use a different output format or capture options
The screenshot API accepts format and capture options in the screenshot call. Consult the API reference for the exact option names supported by the version installed in your project. Avoid assuming that examples for another Puppeteer release have identical options.
Configure a separately installed Chrome
If you intentionally want to use a browser other than Puppeteer’s bundled build, install puppeteer-core and supply the browser through the documented launch configuration mechanisms, such as an executable path or browser channel. The configuration API also exposes settings for browser selection, cache location, and skipping downloads; review Puppeteer’s configuration interface for the version you use.
Rank #3
- YOUR DAY SIMPLIFIED – Enjoy crisp calls, vibrant views, and real connection. The Lenovo Chromebook m 14” laptop features a stunning WUXGA 16:10 screen, a full set of ports, and a lightweight yet tough, military-grade build.
- BRILLIANTLY IMMERSIVE – The vibrant WUXGA 1920x1200 display lets you see, hear, and create your world in thrilling new ways. Audio that's tuned with MaxxAudio delivers rich, balanced sound that pulls you deeper into every scene, playlist, and project.
- TOUGH, LIGHT, READY FOR LIFE – Carry with confidence. At just under 3lbs, the Chromebook m 14” laptop is easy to handle and reinforced with military-grade durability to withstand daily bumps, drops, and spills.
- LOOK SHARP STAY SECURE – Take charge of your privacy with the webcam’s physical privacy shutter. Open it confidently for video calls or livestreams and close it securely when you’re done, hassle-free.
- CONNECT MORE TO DO MORE – Switch between devices and displays effortlessly while collaborating, studying, and sharing your screen. The built-in USB-C, USB-A, and HDMI ports let you charge, connect and present dongle-free.
Do not copy a macOS Chrome path from another machine into your project without confirming that Chrome is installed at that location. Paths depend on the local installation and environment. An alternate executable may work, but Puppeteer states that its compatibility is at the user’s risk; if you encounter unexplained launch or protocol errors, test first with the bundled browser.
Fix a missing browser or failed launch
- Error such as “Could not find Chrome (ver. …).” A package manager may have blocked Puppeteer’s install script, so the package installed without its browser. Run
npx puppeteer browsers installfrom the project directory to install the required browser. Alternatively, configure the package manager to allow Puppeteer’s postinstall script. The official recovery step is described in the installation guide. - Chrome archive will not unpack. Confirm that
unzipis available, or install the optionalyauzldependency specified by Puppeteer’s system requirements. - The browser launches in one project but not another. Check which package the project uses:
puppeteerdownloads the browser, whilepuppeteer-coredoes not. Forpuppeteer-core, provide the executable or channel configuration rather than expecting a bundled browser. - A custom Chrome executable fails or behaves differently. Confirm that the path exists and points to a supported local browser. Then try Puppeteer’s bundled Chrome for Testing to distinguish an executable/version mismatch from an application issue.
- Installation appears stuck or incomplete. The browser download is substantial—about 170 MB for the macOS Chrome for Testing build in the versioned guide—so check network access and available disk space, then rerun the browser installation command if needed.
Or skip the browser setup
ScreenshotNeo takes a website screenshot through a single GET request, so you do not need to install Puppeteer or manage a local Chromium build for this capture. Its cookie and consent handling accepts banners like a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets before the shot; each step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers report the page verdict and billing status. Its MCP server offers take_screenshot, get_page_info, and capture_pdf for AI agents and other MCP clients.
For a basic image capture, save the response as a file. See the ScreenshotNeo API documentation for request parameters and response details.
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 matchPC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Rank #4
- THIN & DURABLE DESIGN - Boasting a thin and light design, the Acer Chromebook Plus 514 is designed to keep you productive and entertained from anywhere. It weighs only 3.09 lbs and meets MIL-STD 810H military standards for reliable performance in harsh conditions. With long battery life and fast charge technology, it lets you work, study, watch, and stay connected without interruptions. It is perfect for commuting, travel, or working on the go
- AI-POWERED CREATIVITY - The laptop has AI-powered Google and Adobe tools to turn inspiration into reality faster. Its Gemini AI simplifies organizing creative drafts and optimizing materials. The dedicated Quick Insert key creates high-resolution images and offers writing assistance for seamless creativity. Unlock Google AI Pro for 12 months with this Chromebook Plus purchase. Experience Gemini Advanced, NotebookLM, 5TB of cloud storage, and boost productivity with Gemini integrated into Gmail, Docs, and more
- POWERFUL PERFORMANCE - Powered by the 8-Core Intel Core i3-N355 Processor with Intel Graphics, it ensures smooth performance for everyday tasks. It features 8GB LPDDR5X RAM for fast, efficient multitasking and 512GB SSD, offering ample space for files, apps, media, and more, delivering fast storage access and reduced load times
- EXCELLENT VISUAL - Featuring a 14" WUXGA (1920x1200) IPS touchscreen with 300-nit brightness, this device delivers vibrant visuals and responsive touch functionality. It supports expanding the workspace with 3 external monitors via HDMI (max 4K@30Hz) or USB Type-C (max 4K@60Hz), without a docking station. Plus, a 1080p webcam with a privacy shutter to prevent unauthorized viewing meets daily video chat or conference needs
- RICH CONNECTIVITY OPTIONS - Equipped with 2x USB-C 3.2 Gen 1, 2x USB-A 3.2 Gen 1, HDMI 1.4, and a headphone/microphone combo jack. It features Wi-Fi 6E and Bluetooth 5.3 for blazing-fast wireless speeds and seamless device pairing, plus a white backlit keyboard that lets you work comfortably in any lighting
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
ScreenshotNeo includes 1,000 screenshots per month on its free plan with no card required; paid plans start at $5 for 3,000 screenshots. Learn about ScreenshotNeo, then sign up for the free plan.
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.

