Windows 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 reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteTo capture a responsive screenshot with Puppeteer, set the page viewport before navigating, load the page in the state you want to capture, and save it with page.screenshot(). Change the viewport and output filename for each size in your breakpoint matrix. For a named device, use Puppeteer’s device emulation rather than relying on viewport dimensions alone.
Capture a responsive screenshot at a chosen viewport
Install Puppeteer in your project with npm install puppeteer, then use this ES module script. It launches a browser, configures a 390-by-844 CSS-pixel viewport, navigates to the page, and saves a full-page PNG.
import puppeteer from 'puppeteer';
const browser = await puppeteer.launch();
try {
const page = await browser.newPage();
await page.setViewport({
width: 390,
height: 844,
deviceScaleFactor: 1,
});
await page.goto('https://example.com', { waitUntil: 'networkidle2' });
await page.screenshot({ path: 'example-mobile.png', fullPage: true });
} finally {
await browser.close();
}
Replace the URL and filename with your own. The dimensions are an example viewport, not a named phone profile. Puppeteer’s screenshot guide documents the page capture workflow at pptr.dev/guides/screenshots, and the setViewport API reference recommends setting viewport properties before navigation.
Capture a breakpoint matrix
For several responsive sizes, reuse the page and navigate once, then resize and capture each viewport. The viewport change can cause a resize or, in some cases when mobile or touch properties are involved, a reload. If the page must initialize at each size, create a fresh page, set its viewport, then navigate for each capture.
#1 Best Overall
- 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 puppeteer from 'puppeteer';
const browser = await puppeteer.launch();
const sizes = [
{ name: 'mobile', width: 390, height: 844 },
{ name: 'tablet', width: 768, height: 1024 },
{ name: 'desktop', width: 1440, height: 900 },
];
try {
for (const size of sizes) {
const page = await browser.newPage();
await page.setViewport({
width: size.width,
height: size.height,
deviceScaleFactor: 1,
});
await page.goto('https://example.com', { waitUntil: 'networkidle2' });
await page.screenshot({
path: `example-${size.name}.png`,
fullPage: true,
});
await page.close();
}
} finally {
await browser.close();
}
Use distinct names so later captures do not overwrite earlier ones. For meaningful visual comparisons, keep the URL, browser version, viewport, device scale factor, page state, timing, and capture scope consistent except for the variable you intend to compare.
Choose viewport sizing or named-device emulation
Set a custom viewport
page.setViewport() sets the visible page dimensions in CSS pixels. Set width, height, and optionally deviceScaleFactor before page.goto(). A viewport alone does not necessarily reproduce a real device: sites may also respond to user-agent strings or mobile-specific metrics.
Emulate a known device
When you need a preset device profile, use Puppeteer’s KnownDevices entry and page.emulate(). Emulation applies device viewport metrics and the user agent. Apply it before navigation so the site sees those settings when it loads.
import puppeteer from 'puppeteer';
const browser = await puppeteer.launch();
try {
const page = await browser.newPage();
await page.emulate(puppeteer.KnownDevices['iPhone 13']);
await page.goto('https://example.com', { waitUntil: 'networkidle2' });
await page.screenshot({ path: 'example-iphone.png', fullPage: true });
} finally {
await browser.close();
}
Device preset names can change between Puppeteer releases. Check the KnownDevices reference and use a name available in your installed version. For a site that only needs a breakpoint check, explicit viewport dimensions are simpler and make the tested width and height clear.
Rank #2
- 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.
Choose what part of the page to capture
Puppeteer’s page.screenshot() captures the current viewport by default. Set a capture option when you need a different scope:
| Capture scope | How to set it | When it fits |
|---|---|---|
| Current viewport | Omit fullPage and clip |
Compare what fits on screen at a given viewport. |
| Full page | fullPage: true |
Inspect a long page from top to bottom. The image may be much taller than a normal viewport. |
| Rectangle | Pass clip with x, y, width, and height |
Capture a specific region of the page. |
| Element | Find the element and call its screenshot() method |
Capture a component; Puppeteer scrolls it into view if needed. |
Capture a clipped region
await page.screenshot({
path: 'example-header.png',
clip: { x: 0, y: 0, width: 1200, height: 180 },
});
Capture one element
const header = await page.$('header');
if (!header) throw new Error('Header element not found');
await header.screenshot({ path: 'example-header.png' });
An element that has been detached from the document causes an error. Query it after the page has loaded, and check that the selector matches an element before capturing.
These APIs and capture options are described in the Page.screenshot reference and ElementHandle.screenshot reference.
Wait for the page state you need
Navigation completion is not always the same as visual readiness. The example uses waitUntil: 'networkidle2', but a page with persistent network requests may never reach a network-idle state, while content inserted later may appear after navigation has completed. Choose a wait condition that fits the site, then wait explicitly for a key element or a short delay if the page’s own behavior requires it.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Rank #3
- 【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.
- Use an appropriate
waitUntilnavigation condition; do not assume network idle suits every site. - For content that appears after navigation, wait for a selector that signals readiness, such as a rendered results panel.
- For lazy-loaded images, a full-page screenshot does not by itself prove that every image has loaded. Check the page behavior and wait for its content as needed.
- For repeatable comparisons, keep interaction state, data, timing, and screenshot scope the same across runs.
Set output format and image options
The screenshot options include path, type, quality, omitBackground, clip, and fullPage. When you provide a path, Puppeteer can infer the image type from its extension. Confirm supported image formats in the documentation for your installed version before depending on a specific format.
qualityapplies to non-PNG output; it does not change PNG output.omitBackground: truehides the default white background, allowing a transparent screenshot where the page content permits it.fullPage: truecaptures beyond the current viewport; use it when you need the entire page rather than a user’s current screen.clipdefines a rectangular capture region and should be used when a focused portion is more useful than a full page.
See the current ScreenshotOptions reference for option support in your installed Puppeteer version.
Troubleshoot common capture problems
The screenshot shows the wrong responsive layout
Set the viewport or device emulation before page.goto(). Changing the viewport afterward can resize the page and, for some mobile or touch settings, trigger a reload. If a named-device result matters, emulate the device rather than setting only its dimensions.
The script waits indefinitely or captures too early
A network-idle wait can be unsuitable for pages with continuous requests. Choose a different navigation condition or wait for a specific selector that indicates the content you need is ready. If delayed content is part of the design, allow for that behavior before capture.
Rank #4
- 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)
An element screenshot fails
Confirm the selector matched an element and that it remains attached to the document until the screenshot call. If the page replaces the component during rendering, wait for the final element and query it again.
The file type or quality is unexpected
Check the output path extension and the installed version’s supported screenshot types. Quality affects non-PNG formats only; it is not a PNG compression control.
The full-page image is unexpectedly large
Full-page output can be much taller than a viewport screenshot. Capture the current viewport, a clip, or a single element when the goal is to inspect a particular screen or component.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Or skip the browser setup
ScreenshotNeo can return a screenshot through one GET request. See the ScreenshotNeo API documentation for request options and response details.
Best Value
- 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://example.com -o shot.webp
ScreenshotNeo accepts cookie or 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 or CAPTCHAs, 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 for AI agents and MCP clients. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots.
Try ScreenshotNeo for an API-based capture workflow, or sign up free for 1,000 screenshots a month with no card.
Frequently Asked Questions
Does Puppeteer capture a full page by default?
No. The default is the current viewport; set fullPage: true for the full page.
Can I capture responsive screenshots without emulating a phone?
Yes. Set a custom width and height with page.setViewport(); use device emulation when the site also depends on device metrics or user agent.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsQuick 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.

