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

ScreenshotMachine and Puppeteer are separate ways to capture a website. For a hosted capture, send ScreenshotMachine an HTTP GET request from your Puppeteer-based job; for a screenshot of the page already open in Puppeteer, call Puppeteer’s own page.screenshot(). The official documentation reviewed here does not describe a first-party Puppeteer adapter, so the integration is an HTTP request in your workflow—not a ScreenshotMachine method attached to a Puppeteer page.

Choose which browser state you need to capture

Use ScreenshotMachine for a hosted capture

Call ScreenshotMachine’s API at https://api.screenshotmachine.com/ with your API key, target URL, and capture options. The service performs the hosted capture; Puppeteer can orchestrate the surrounding job, but does not supply the browser page to ScreenshotMachine.

Use Puppeteer for the page it already controls

If you need the state of a page already loaded and manipulated in Puppeteer, use page.screenshot(). Puppeteer documents this method as asynchronous and returning screenshot data (a Promise<Uint8Array> for the documented overload). It does not require a ScreenshotMachine request. See the Puppeteer Page.screenshot() reference.

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

Call ScreenshotMachine from a Node.js screenshot job

The API guide requires key and url. Keep the key in server-side configuration rather than exposing it in public browser code. The example below uses Node’s built-in fetch, percent-encodes the target URL through URLSearchParams, checks the HTTP response, and writes the response body to a file.

#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
import { writeFile } from 'node:fs/promises';

const key = process.env.SCREENSHOTMACHINE_KEY;
if (!key) throw new Error('Set SCREENSHOTMACHINE_KEY first');

const params = new URLSearchParams({
  key,
  url: 'https://example.com',
  dimension: '1365x768',
  device: 'desktop',
  format: 'png',
  cacheLimit: '0',
});

const response = await fetch(`https://api.screenshotmachine.com/?${params}`);
if (!response.ok) {
  throw new Error(`ScreenshotMachine returned HTTP ${response.status}`);
}

await writeFile('website.png', Buffer.from(await response.arrayBuffer()));

Run it with SCREENSHOTMACHINE_KEY set to your customer API key. This saves the returned bytes as website.png; choose the filename and extension to match the requested format. The official Node.js example also demonstrates building the request URL and saving the result: ScreenshotMachine’s screenshotmachine-nodejs repository.

Use Puppeteer too, only when the job needs it

A job may use Puppeteer for browser-side preparation or automation, then make the HTTP request above as a separate capture. If the desired output is specifically the browser page Puppeteer has prepared, call page.screenshot() instead. These are different capture paths: ScreenshotMachine’s endpoint does not take a Puppeteer page or inherit its cookies and interactions automatically.

Set dimensions, format, timing, and page interactions

ScreenshotMachine’s API guide documents these request parameters. Supply values as query parameters and encode values containing reserved characters.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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.
Parameter What it controls Documented values or notes
dimension Capture width and height [width]x[height]; width 100–1920 and height 100–9999. Use full for full-page height.
device Device profile desktop, phone, or tablet.
format Output image format jpg, png, or gif.
cacheLimit Maximum age of a cache result the API may use 0 through 14 days; 0 requests a fresh screenshot. Fractional values can express a shorter interval.
delay Wait before capture 0–10000 milliseconds. ScreenshotMachine suggests a longer delay, such as 2000 ms or more, for some full-page captures; this is guidance, not a guarantee that all page content has rendered.
zoom Page scale 10–400 percent. The guide says optimization may ignore zoom for screenshots smaller than typical device dimensions.
click Click a page element before capture Accepts a CSS selector.
selector Capture a CSS-selected element Accepts a CSS selector.
crop Crop a region x,y,width,height in pixel coordinates.
cookies Supply cookies Percent-encode the value.
Language and user-agent options Set request/browser headers The guide documents Accept-Language and User-Agent; percent-encode values as needed.

Full-page and delayed content

Use a full-height dimension such as 1365xfull when you need the full page. Lazy-loaded images, animations, and other dynamic content may not be ready at the moment of capture. The documented delay setting can give a page extra time, but a fixed wait cannot prove that every element finished loading. Adjust it for the page and verify the resulting image.

Fresh output versus cache reuse

Set cacheLimit to 0 when the job must request a fresh capture rather than accept a cached image. A nonzero limit permits reuse within the chosen age window, which may suit repeated captures where freshness is less important.

Secure and reliable job handling

  • Protect credentials: store the API key in an environment variable or server-side secret store. ScreenshotMachine’s guide also documents an optional secret phrase and URL-plus-secret MD5 hash, and recommends protecting requests made from public HTML pages.
  • Encode query values: use a URL query builder such as URLSearchParams, especially for target URLs, cookies, language strings, or user-agent values that contain reserved characters.
  • Check the response: detect non-success HTTP statuses before saving output. Treat request failures and filesystem write failures as job errors and report them to the caller or retry policy.
  • Match extension to format: save jpg, png, or gif output with a corresponding filename extension so downstream tools do not misidentify it.
  • Choose waiting deliberately: a longer delay can help with late content but adds time to each job; the vendor’s suggested delay is not a rendered-page guarantee.

The cited documentation describes available settings but does not provide a performance benchmark comparing ScreenshotMachine with Puppeteer’s local capture. Choose based on whether you need a hosted URL capture or the exact state of a Puppeteer-controlled page, then account for the required setup and wait time.

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.

Troubleshooting common failures

The API rejects the request

Confirm that the request includes the required key and url, that the key is the customer API key, and that the query values are correctly encoded. Keep the key server-side; requests embedded in public HTML can expose credentials.

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

The screenshot is stale

Set cacheLimit=0 to request a fresh screenshot. If cache reuse is acceptable, choose a suitable limit within the documented 0–14 day range.

Images or animations are missing

Increase delay within the documented maximum of 10000 milliseconds and inspect the output. The guide gives 2000 ms or more as an example for some full-page captures, but the correct wait depends on the page and does not guarantee completion.

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)

The capture has the wrong size or region

Check the dimension syntax and documented bounds, confirm whether full-page height is needed, and review any zoom or crop settings. Zoom may be ignored for screenshots smaller than typical device dimensions.

The saved file cannot be opened as an image

Check the HTTP status before writing the response, verify that the request format matches the filename extension, and ensure that the output path is writable. Do not assume a failed request body is a valid image.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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 can return an image or PDF with one GET request. For a complete list of request options, see the ScreenshotNeo API documentation.

Best Value
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
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

ScreenshotNeo accepts cookie/consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; 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 provides take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients. 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 free: 1,000 screenshots a month, no card required.

Frequently Asked Questions

Does ScreenshotMachine have an official Puppeteer plugin?

The official ScreenshotMachine and Puppeteer documentation cited here do not describe a first-party Puppeteer adapter.

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

Can ScreenshotMachine capture an element by CSS selector?

Yes. Its API guide documents a selector parameter that accepts a CSS selector.

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
$35.80
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
Bestseller 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
$69.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.