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

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

Use Playwright MCP’s browser_take_screenshot tool for three distinct jobs: the current viewport (the default), one element selected by snapshot ref or CSS selector, or the entire scrollable page with fullPage: true. Add filename to control where the image is saved, choose PNG, JPEG, or WebP, and use scale to control CSS-pixel versus device-pixel resolution. Full-page capture and an element target are mutually exclusive, so choose the capture scope before calling the tool.

Choose the capture mode first

The official Playwright MCP reference defines the tool as able to “Capture the viewport, a specific element, or the full scrollable page.” The screenshot tool reference exposes those modes through the request you send from your MCP client.

Goal Parameters What you get
Current viewport No target and no fullPage What is currently visible in the browser viewport
One element target set to an element ref or unique CSS selector A tight image of that element
Entire page fullPage: true, with no target The full scrollable document

Do not send target together with fullPage: true. Treat them as separate operations rather than expecting the tool to crop an element out of a full-page render.

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

Capture the current viewport with MCP

After your MCP client has a Playwright browser session open, call the tool with an empty object or only the options you need. The default is a viewport screenshot.

#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
{
  "name": "browser_take_screenshot",
  "arguments": {}
}

This is useful for checking the visible state of a dialog, chart, canvas, or responsive layout. It captures what the browser is displaying now; it does not automatically scroll through the page.

Capture a full scrollable page

Save a complete page under a useful name

Set fullPage to true and provide a descriptive filename:

{
  "name": "browser_take_screenshot",
  "arguments": {
    "fullPage": true,
    "filename": "homepage-full.webp"
  }
}

A name such as pricing-desktop-full.png records both the page and the state you intended to review. Relative filenames resolve against the workspace root. If you omit filename, Playwright MCP creates a timestamped file such as page-1712345678901.png in its output directory. When a filename extension is present, the extension determines the format; without one, PNG is the fallback.

Free tools Windows power users keep installed

One-click scans. No signup required.

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

When a full-page image is the right choice

  • Reviewing a landing page from header to footer.
  • Documenting a long visual bug without stitching screenshots yourself.
  • Checking lazy-loaded images and sections that appear below the fold after the page has loaded.

Very long documents can create large image files and take longer to encode than a viewport capture. If you only need a component, use an element target instead of producing a tall page image.

Capture one element

Target by an accessibility snapshot ref

Use browser_snapshot when you need to understand page structure. Its accessibility-oriented tree assigns refs to controls and regions. Pass a ref from the current snapshot as the screenshot target:

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.
{
  "name": "browser_take_screenshot",
  "arguments": {
    "target": "ref=sidebar",
    "filename": "sidebar.png"
  }
}

The exact ref is page-specific; copy the value returned by your current snapshot rather than inventing one. Snapshot refs are valid only for that snapshot. If the page changes, take a new snapshot and obtain a fresh ref. The snapshot documentation explains this lifecycle at playwright.dev/mcp/snapshots.

Target by a unique CSS selector

If a stable, unique selector identifies the component, pass that selector as target:

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
{
  "name": "browser_take_screenshot",
  "arguments": {
    "target": "main article[data-testid='release-notes']",
    "filename": "release-notes.webp"
  }
}

Prefer a selector that resolves to exactly one element. If it matches several nodes, refine it with an ID, data attribute, semantic container, or other unique condition. Element capture is particularly useful for cards, dashboards, invoices, charts, and components that would be awkward to crop from a full-page image.

Choose the image format and resolution

PNG, JPEG, and WebP

Playwright MCP supports PNG, JPEG, and WebP. Put the desired extension in filename:

  • screen.png for lossless output and sharp text or interface edges.
  • screen.jpeg for a commonly supported photographic format.
  • screen.webp for a modern compressed image format.

If you omit the extension and do not provide a separate type setting, PNG is used. Use a consistent format when comparing captures over time so that encoding differences do not obscure visual changes.

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.

CSS scale versus device scale

The scale option accepts "css" or "device":

{
  "name": "browser_take_screenshot",
  "arguments": {
    "filename": "hero-device.png",
    "scale": "device"
  }
}
  • scale: "css" favors CSS-pixel dimensions, which makes output easier to compare with layout measurements and design specs.
  • scale: "device" uses the device pixel ratio for higher-resolution output on high-density displays.

Pick CSS scale when pixel dimensions need to match browser layout values. Pick device scale when the image will be inspected at high zoom or placed in a high-density document.

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

Screenshot or structured snapshot?

A screenshot is a visual artifact. It is appropriate for checking spacing, colors, charts, canvas content, responsive composition, or a visual regression. It is not the preferred representation for locating controls or operating the page. The Playwright MCP documentation explicitly distinguishes screenshots as something to look at rather than act on: use the screenshot reference for that guidance.

For text, semantics, and interaction, call browser_snapshot. The resulting accessibility tree lets you identify buttons, links, headings, and regions, then use their current refs with interaction tools. A practical workflow is:

  1. Load or navigate to the page.
  2. Call browser_snapshot to inspect structure and obtain current refs.
  3. Interact with the page using those refs.
  4. Call browser_take_screenshot after the page reaches the visual state you want to document.

Do not use an old ref after navigation, a significant re-render, or another change that replaced the snapshot tree.

Save screenshots with the Playwright API instead of MCP

If you are writing Playwright code directly, the API has equivalent operations. The official API documentation is available in the Playwright screenshots source.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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)

Viewport and full-page files

await page.screenshot({ path: 'viewport.png' });
await page.screenshot({ path: 'page-full.png', fullPage: true });

One element with a locator

const chart = page.locator('[data-testid="revenue-chart"]');
await chart.screenshot({ path: 'revenue-chart.webp' });

Return bytes for post-processing

const bytes = await page.screenshot({ type: 'png' });
// Pass `bytes` to your image pipeline, attach it to a report, or store it yourself.

Passing a path writes a file. Omitting it returns screenshot bytes, which is useful when another part of your program handles storage, hashing, upload, or image analysis.

Make captures reliable

Wait for the visual state you intend to record

A screenshot records the moment the command runs. If fonts, data, animations, or images are still changing, the file may not represent the finished state. In your MCP workflow, perform the page interactions and waits before calling the screenshot tool. For code, wait for a meaningful locator or application state rather than relying only on a fixed sleep:

await page.locator('[data-testid="dashboard"]')
  .waitFor({ state: 'visible' });
await page.screenshot({ path: 'dashboard.png' });

Keep capture dimensions intentional

Viewport screenshots depend on the browser’s current viewport and device settings. Record those settings in the filename or surrounding test metadata when reproducibility matters. A full-page capture can still vary if content is generated dynamically, personalized, or loaded after the first render.

Control file naming

Use names that encode page, state, viewport, and format, for example checkout-error-mobile-device.png. Avoid overwriting a useful artifact accidentally; include a build number or timestamp when captures are produced in a loop.

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

Troubleshooting common failures

The screenshot shows only the top of the page

Cause: the request used the default viewport mode. Fix: send fullPage: true and remove target. If you actually need one component, keep target and omit fullPage.

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

The tool rejects a request containing both options

Cause: full-page and element capture are incompatible modes. Fix: issue two separate calls, or decide whether the deliverable is the full document or a single element.

The element target cannot be found

Cause: a selector matched nothing, matched multiple elements, or a snapshot ref became stale after the page changed. Fix: take a fresh browser_snapshot, verify the element is present and visible, then use the new ref or a more specific selector.

The file is not where expected

Cause: a relative filename is resolved against the workspace root, not necessarily the directory shown in your shell. Fix: use an explicit path supported by your MCP workspace conventions, or inspect the MCP output directory when no filename was supplied.

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

The output format is wrong

Cause: the filename extension was omitted or does not match the intended format. Fix: use .png, .jpeg, or .webp explicitly. PNG is the fallback when no format is specified.

The image is blurry or unexpectedly large

Cause: the selected scale does not match your goal. Fix: use scale: "css" for CSS-pixel output, or scale: "device" when device-pixel detail is required. Device scale can produce larger files.

The capture contains an intermediate loading state

Cause: the command ran before the page’s visual state stabilized. Fix: wait for a specific visible component or application-ready condition, disable or complete animations where your test permits, and then capture.

Or skip the browser setup

ScreenshotNeo is a website screenshot API and MCP server for developers. One GET request returns a PNG, JPEG, WebP, or PDF. It accepts consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each cleanup step can be disabled. Bot checks and CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and each response reports the result in X-Page-Verdict and X-Billed headers. It also offers MCP tools named take_screenshot, get_page_info, and capture_pdf for Claude, Cursor, and other MCP clients.

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

For a direct call, see the ScreenshotNeo API documentation:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

Beyond the basic URL, ScreenshotNeo supports full-page captures with lazy images loaded, CSS-selector element capture, dark mode, 12 device presets plus custom viewports, retina scale, PDF paper and page controls, custom CSS and JavaScript, pre-capture clicks, hidden selectors, waits for selectors, delays or network idle, request and resource blocking, custom headers, cookies, user agents and Authorization, timezone and geolocation, transparent backgrounds, resizing, configurable-TTL caching, signed image links, asynchronous jobs with signed webhooks, bulk capture of up to 100 URLs per call, a usage API, an OpenAPI specification, and compatible parameter names used by other screenshot APIs.

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.90
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

Cookie banners, popups, and chat widgets are removed before the shot; bot checks, blank pages, and failed loads are never billed; an MCP server lets AI agents take screenshots; 1,000 screenshots per month are free with no card, and paid plans start at $5 for 3,000 shots. Create a free ScreenshotNeo account.

Reference links

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.

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