Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Clear out junk files and repair common Windows errorsFree Scan →Use Playwright’s Firefox browser build, open the target page, and call page.screenshot(). By default, it saves the visible viewport as a PNG. Playwright’s Firefox build matches recent Firefox Stable, but it is not the branded Firefox application: Playwright says its build uses patches and does not work with branded Firefox. Playwright’s browser documentation explains that distinction.
Install Playwright and its Firefox browser
For a Node.js project, install Playwright and download its Firefox build from your project directory:
As an Amazon Associate I earn from qualifying purchases.
npm init -ynpm install playwrightnpx playwright install firefox
Playwright launches the browser build it manages; installing Firefox separately does not make the branded Firefox application a supported Playwright browser. The managed build is the reliable choice for this procedure.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Capture the visible Firefox viewport
Save this as screenshot.js, replacing the example URL with the page you want to capture:
#1 Best Overall
- 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
const { firefox } = require('playwright');
(async () => {
const browser = await firefox.launch();
try {
const page = await browser.newPage();
await page.goto('https://example.com');
await page.screenshot({ path: 'screenshot.png' });
} finally {
await browser.close();
}
})();
Run it with node screenshot.js. The screenshot is written to screenshot.png in the current working directory. The example uses the viewport dimensions selected by the new page’s default settings; set a viewport explicitly if you need consistent dimensions:
const page = await browser.newPage({ viewport: { width: 1440, height: 900 } });
The basic capture pattern follows Playwright’s screenshot guide. For the full set of screenshot options, see the Page API.
Choose what to capture
| Goal | Setting or method | Result |
|---|---|---|
| Visible viewport | await page.screenshot({ path: 'viewport.png' }) |
The currently visible area; this is the default. |
| Full scrollable page | await page.screenshot({ path: 'full.png', fullPage: true }) |
A tall image spanning the page’s scrollable content. |
| One element | await page.locator('.header').screenshot({ path: 'header.png' }) |
The selected element’s visible bounds. |
| Image data for further processing | const buffer = await page.screenshot() |
Returns a buffer instead of writing a file when path is omitted. |
Full-page capture is convenient, but it can create a very tall image on long pages. Element capture is useful for components such as a navigation bar or chart; make sure the locator identifies the intended element before saving.
Rank #2
- 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
Set format, scale, and capture behavior
File type and output path
Playwright supports PNG, JPEG, and WebP. The file extension determines the format; PNG is the default. A relative path is resolved from the process’s current working directory. For example, { path: 'out/page.webp' } writes a WebP image in the out directory, which must already exist.
Pixel scale and JPEG quality
The default scale is 'device', which produces output at device-pixel resolution. Set scale: 'css' for one output pixel per CSS pixel, which can make high-DPI screenshots smaller. JPEG quality accepts values from 0 to 100; it does not affect PNG output.
await page.screenshot({
path: 'page.jpg',
type: 'jpeg',
quality: 85,
scale: 'css'
});
Crop, mask, and temporary styling
Use clip to capture a rectangle in page coordinates, or mask to cover matching locators. A screenshot-time style can apply CSS while the capture is taken. These options change what appears in the image, so use them when the crop or visual alteration is intentional.
Rank #3
- 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.
await page.screenshot({
path: 'region.png',
clip: { x: 0, y: 0, width: 800, height: 500 },
animations: 'disabled'
});
Reduce animation differences
animations: 'disabled' disables CSS animations, transitions, and Web Animations during capture. It is useful when an animation makes repeated screenshots inconsistent. It does not make rendering identical across different machines or browser environments.
Free tools Windows power users keep installed
One-click scans. No signup required.
Wait for the page before capturing
A screenshot records the page state at capture time. Navigation completing does not guarantee that every image, font, or client-rendered element has finished loading. If a particular element matters, wait for it explicitly:
await page.goto('https://example.com');
await page.locator('.report-ready').waitFor();
await page.screenshot({ path: 'report.png', fullPage: true });
Choose a condition that reflects the content you need rather than adding an arbitrary delay by default. For pages with lazy-loaded images, a full-page screenshot can include content that only appears after scrolling; if necessary, use page-specific scrolling or waits before capture.
Rank #4
- 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
Keep visual comparisons reproducible
Playwright notes that screenshots can vary with the host operating system, browser version, settings, hardware, power source, and headless mode. For visual baselines, generate and compare screenshots in the same environment rather than assuming pixel-perfect output across machines. Playwright’s visual comparison guidance discusses these sources of variation.
If the goal is a test assertion rather than simply saving an image, Playwright Test provides await expect(page).toHaveScreenshot(). Its screenshot assertion waits for two consecutive screenshots to match before comparing against the stored expectation. This is a Playwright Test feature, distinct from calling page.screenshot() to save a file. See the PageAssertions API.
Troubleshooting common capture problems
- Playwright cannot launch Firefox: install Playwright’s Firefox build with
npx playwright install firefox. Use the managed build rather than pointing Playwright at branded Firefox, which its browser documentation says is unsupported. - The screenshot is saved somewhere unexpected: relative paths are based on the current working directory. Use an absolute path or check the directory from which you ran
node. - The target folder does not exist: create it before calling
page.screenshot(), or save to a filename in an existing directory. - The image is blank or missing page content: wait for the relevant locator or application state before capture. A successful navigation alone may occur before client-rendered content is ready.
- The capture is only the visible portion: add
fullPage: truefor the full scrollable page, or use a locator’sscreenshot()method for one element. - Repeated images differ: disable animations where appropriate and hold the browser and host environment constant. Playwright documents several environmental causes of rendering variation.
- Expected format is wrong: use a matching filename extension such as
.jpgor.webp; PNG is the default when no type is inferred.
Or skip the browser setup:
ScreenshotNeo can return an image or PDF from one GET request, without installing Playwright. Its capture process accepts cookie and consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each cleanup step can be turned off. Bot checks and CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and the response identifies the page verdict and billing status in headers.
It also provides an MCP server for AI agents, including Claude, Cursor, and other MCP clients. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000 screenshots. See ScreenshotNeo and the API documentation for available options.
Best Value
- 【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.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
For Python: import requests; r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://example.com"}, timeout=90); open("shot.webp", "wb").write(r.content)
For Node.js: const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://example.com' }); const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
Sign up free for 1,000 screenshots a month, with no card required.
Frequently Asked Questions
Can Playwright use my installed Firefox profile?
The documented approach here uses Playwright’s own Firefox build, not the branded Firefox application or its existing profile.
Does Playwright save screenshots as PNG by default?
Yes. PNG is the default when the output type is not inferred from a filename extension.
Can I capture an element without saving a full-page image?
Yes. Call screenshot() on a locator for the element you want.
Recommended Free Tools
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.




