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

Use a browser’s screenshot feature to capture a web page as it is actually rendered. For automated captures, Playwright’s page.screenshot() is a straightforward option: it can save a viewport or full-page image, crop to a region, and return image data without redrawing the DOM into a canvas. If you need a Chromium-specific lower-level interface, use the Chrome DevTools Protocol’s Page.captureScreenshot.

This distinction matters because html2canvas reconstructs a representation from DOM and style information; it does not take a literal screenshot of the browser’s rendered page. That reconstruction can differ from what a visitor sees.

What “without canvas” means

A browser screenshot captures the pixels produced by the browser’s rendering process. A DOM-to-canvas library instead reads page elements and styles, then draws a best-effort representation. The html2canvas documentation explicitly describes that approach and warns that output may not fully match the actual page appearance.

Choose a browser screenshot when you need the rendered result—for example, a repeatable capture for a report, a visual record, or an image of a page whose CSS or embedded content is difficult to reconstruct. Choose DOM reconstruction only when you specifically need its canvas-oriented workflow and can accept its rendering and cross-origin constraints.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Capture Card, 4K HDMI Video Capture Card, Game Capture Card, 1080P 60FPS Video Capture Device, HDMI to USB 3.0 Capture Card for Streaming, Work with Camera/Xbox/PS4/PS5/PC/OBS
  • 【1080P HD High Quality】Capture resolution up to 1080p for video source and it is ideal for all HDMI devices such as PS4, PS3, Xbox One, Xbox 360, Wii U, DVDs, DSLR, Camera, Security Camera and set top box. Note: Video input supports 4K30/60Hz and 1080p120/144Hz. Does not support 4K120Hz/144Hz. Output supports up to 2K30Hz.
  • 【Plug and Play】No driver or external power supply required, true PnP. Once plugged in, the device is identified automatically as a webcam. Detect input and adjust output automatically. Won't occupy CPU, optional audio capture. No freeze with correct setting.
  • 【Compatible with Multiple Systems】suitable for Windows and Mac OS. High speed USB 3.0 technology and superior low latency technology makes it easier for you to transmit live streaming to Twitch, Youtube, Facebook, Twitter, OBS, Potplayer and VLC.
  • 【HDMI LOOP-OUT】Based on the high-speed USB 3.0 technology, it can capture one single channel HD HDMI video signal. There is no delay when you are playing game live.
  • 【Support Mic-in for Commentary】Rybozen capture card has microphone input and you can use it to add external commentary when playing a game. Please note: it only accepts 3.5mm TRS standard microphone headset.

Choose the capture method for your environment

Environment or need Suitable route What it offers
Application-controlled browser or repeatable automation Playwright screenshot API High-level page capture options, including full-page output and clipping.
Code already controlling Chromium through its protocol Chrome DevTools Protocol Lower-level Page.captureScreenshot method.
JavaScript automation using Chrome or Firefox Puppeteer Browser automation; Chrome for Developers lists screenshots and PDF generation among its uses.
Browser extension capturing the active tab Native tab screenshot API Visible-tab capture methods; do not assume these capture the entire scrollable page.
Need an image from a DOM reconstruction html2canvas Builds a representation from DOM data, with CSS and origin-related limitations.

For extension APIs, the html2canvas FAQ points to chrome.tabs.captureVisibleTab() for Chrome, Edge, and Opera, and browser.tabs.captureVisibleTab() for Firefox. Check the relevant browser vendor’s current API and permission documentation before implementing an extension: the methods cited here are for the visible tab, not a guarantee of full-page capture.

Capture a page with Playwright

Playwright is a practical starting point if your code can launch and control a browser. The example below opens a page and saves the full scrollable page as a PNG. It illustrates the documented API shape; it is not a claim that a capture was performed.

  1. Install Playwright in a Node.js project and install its browser binaries using the current instructions in the Playwright installation documentation.

  2. Save this code as screenshot.js:

    const { chromium } = require('playwright');
    
    (async () => {
      const browser = await chromium.launch();
      try {
        const page = await browser.newPage();
        await page.goto('https://example.com', { waitUntil: 'load' });
        await page.screenshot({ path: 'page.png', fullPage: true });
      } finally {
        await browser.close();
      }
    })();
  3. Run it with node screenshot.js. The file page.png is written in the current working directory.

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

The Playwright Page API documents page.screenshot() as returning a buffer and supporting a path, full-page captures, clipping, and PNG, JPEG, or WebP output. Its current documentation also describes scaling, animation handling, and masking locators. Browser APIs change, so consult the live API reference for exact option names and behavior for your installed Playwright version.

Rank #2
Guermok Video Capture Card, 4K USB3.0 HDMI to USB C, 1080P 60FPS & 2K 30FPS
  • 【1080P 60FPS Video Capture Card】 This HDMI game capture card is based on USB3.0 high speed transmission port, input resolution up to 4K@30HZ, output resolution up to 2K@30Hz or 1920×1080@60Hz. Type c and USB interface can meet most of the devices in daily life. Easily meet the online capture, real-time recording, online meetings, live gaming and other functions, so you have a better visual enjoyment. Note: For capture use only; requires capture software to function and is not intended for direct screen casting to a monitor or TV
  • 【Ultra Low Latency Screen Sharing】 HDMI capture card is made of good quality aluminum alloy with strong heat dissipation, allowing you to enjoy ultra low latency while live gaming or video recording or live streaming, avoiding blue screens and lag. This HDMI to USBC capture card supports easy recording of good quality audio or HD video and transferring it to your computer or streaming platform, allowing you to record 60 fps HD video directly on your hard drive and real-time preview
  • 【Plug and Play, Easy to Carry】 This HDMI 1080P video capture card does not require any additional drivers or external power supply, just plug and play for fast capture. The capture card is small and lightweight, so you can put it in your bag for emergencies, making it very portable for outdoor live streaming. It's also a great way to share content in game recording, video conference, video recorder and online teaching
  • 【Wide Compatibility USB Capture Card】 Easily streams to Facebook, Youtube or Twitch. With the connection, this HDMI to USB C/3.0 video capture devices can be working on several Operating Systems and various software: Windows 7/ 8/ 10, Mac OS or above, Linux, Android, Laptop, Xbox One, PS3/PS4/PS5, Camera, DVDs, Set Top Box, Webcame, DSLR, Switch/Switch 2, TV BOX, HDTV, Potplayer/VLC, ZOOM, OBS Studio etc.
  • 【Package Content & Note】 1x HD Audio Capture Card , 1x USB 3.0 to USB C Adapter (A-side 3.0, B-side 2.0), 1x user manual. Please note that you need to restart the OBS Studio software after the audio setup is complete, otherwise it will result in no sound output. When using an adapter, if the device is recognized as USB 2.0, try using the other side with the USB-C port. Simply flip the capture card and reconnect it to be recognized as USB 3.0

Capture only the visible viewport

Omit fullPage to capture the current viewport:

await page.screenshot({ path: 'viewport.png' });

This is useful when the viewport itself is the unit you want to record, such as a particular responsive layout. Set the viewport before navigation if you need consistent dimensions:

const page = await browser.newPage({ viewport: { width: 1365, height: 768 } });

Capture a rectangular region

Use the documented clip option to capture a rectangle in page coordinates. For example:

await page.screenshot({
  path: 'region.png',
  clip: { x: 40, y: 120, width: 800, height: 500 }
});

Keep the requested rectangle within the rendered page area and check the API’s current constraints, especially when combining clipping with a full-page capture.

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.

Choose format and scaling

Playwright supports PNG, JPEG, and WebP screenshot output. The file extension alone is not a substitute for setting and checking the appropriate screenshot options. The API documents a scale setting for CSS-pixel sizing or device-pixel sizing; its current documented default is device. Select based on whether you want output dimensions tied to CSS pixels or the device scale factor, and verify the setting against the version in use.

Control motion and mask changing content

For repeatable captures, animations or frequently changing regions can make otherwise identical screenshots differ. Playwright documents animation control and masking locators in its screenshot API. Use those options when appropriate, and avoid hiding or masking content if the purpose is to record exactly what a visitor sees.

Rank #3
Capture Card 4K HDMI Video Streaming to USB 3.0 1080P 60FPS Capture Device
  • High-Quality Video Capture, 4K HDMI Capture Card Ready: Capture smooth and vibrant video with this 4K HDMI capture card, engineered for gamers and content creators who demand crisp 1080P 60FPS video quality. Whether you're streaming to Twitch or recording gameplay for YouTube, your footage will look professional and detailed
  • Plug-and-Play USB Capture Card, No Drivers Needed: Designed as a USB capture card for streaming, this device works instantly out of the box, just plug into your PC or laptop and start capturing. Fully compatible with popular software like OBS Studio, Streamlabs, and XSplit, making setup quick and stress-free for beginners and pros alike
  • Universal Compatibility PS5, Xbox, Switch & More: Stream or record gameplay from virtually any HDMI-enabled device including Nintendo Switch, PS5, Xbox Series X, DSLR cameras, and PCs. The video capture card for gaming supports seamless passthrough so you can play without lag while your audience watches every frame in real time
  • Low-Latency Performance for Smooth Streaming: This capture card for streaming minimizes delay between gameplay and broadcast, so you get reliable, low-latency capture that works well for competitive gaming, live broadcasts, and podcast sessions. Suitable for those building their channel with high-quality, engaging content
  • Compact & Portable Design for Content Creators: Lightweight and portable, this USB 3.0 capture card works well for creators who travel or switch gaming setups often. Throw it in your bag and stream or record wherever you are, at home, events, LAN parties, streaming or studio sessions

Capture a screenshot through the Chromium DevTools Protocol

If your application already speaks the Chrome DevTools Protocol, its Page domain lists Page.captureScreenshot. This is a lower-level route than Playwright’s page API: your code must manage the protocol session and browser lifecycle appropriate to its environment.

The protocol reference is a rolling tot schema. Check the live schema and the Chromium version you target before relying on particular parameters or behavior. Use this option when protocol-level control is useful, rather than adding a protocol layer to a task that Playwright already handles directly.

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

Why html2canvas can produce a different result

The project documentation says html2canvas traverses the DOM and builds a representation from properties it reads. It can render only the CSS properties it understands, so unsupported or incomplete CSS handling may change the result. It also documents same-origin restrictions for images and inaccessible cross-origin iframes.

The FAQ explains that drawing cross-origin images can taint a canvas, and that unsupported CSS can render incorrectly. It also warns that oversized canvases may produce blank or partial output without an error. The FAQ’s listed browser canvas limits do not show a publication year, so treat them as implementation guidance to verify for the browsers you support—not as current, universal capacity figures.

These are not problems that a browser screenshot solves by making the page’s content accessible: the browser still has to load and render the page. But it avoids reconstructing that rendering through a separate DOM-to-canvas pass.

Rank #4
Video Capture Card, 4K USB3.0 HDMI to USB C, 1080P60FPS HDMI Capture Card for Streaming, Gaming, Video Recording Compatible with Switch, Xbox, PS4/5, OBS,iPad Mac OS Windows,Camera, Zoom(Silver)
  • 【4K HDMI Input, 2K@30Hz Recording】Powered by a true USB 3.0 high-speed interface, the capture card supports up to 4K@30Hz HDMI input and records at 2K@30Hz or 1080P@60Hz. Perfect for gamers, streamers, and professionals who need crisp, smooth video for live streaming, gameplay recording, or online meetings.
  • 【Ultra Low Latency Screen Sharing】Built with a premium aluminum alloy shell and advanced chipset for stable heat dissipation, ensuring ultra-low latency transmission. Capture high-quality video and dual-channel audio in real time—no lag, no frame drop—ideal for Twitch, YouTube, or OBS streaming.
  • 【Easy Plug and Play, Compact & Portable】No driver or external power required—just plug and play via USB 3.0 or Type-C connection to your Windows or macOS computer. Lightweight and compact design makes it easy to carry for outdoor streaming, live shows, or mobile recording setups.
  • 【Wide Compatibility & Multi-Device Support】Compatible with Windows 7 8 10 11, macOS, Linux,Android and supports most popular software such as OBS, Zoom, VLC, Twitch Studio, and more. Works seamlessly with PS4, PS5, Xbox, Switch, DSLR cameras, TV boxes, and other HDMI-output devices for streaming to YouTube, Twitch, etc.
  • 【What You Get】Includes: HDMI Capture Card, USB 3.0 to USB-C Adapter, User Manual. Tips: Make sure your tablet’s OTG function is enabled before connecting. Test your HDMI device with a monitor first to confirm video and audio output, then connect to the Video Capture Card for recording.

Troubleshoot common capture failures

The screenshot is blank or incomplete

  • Check navigation and page readiness. Confirm that navigation completed and the intended page loaded before calling the screenshot method. A page may still need application-specific readiness checks after the load event.
  • Check full-page dimensions and dynamic content. A page that grows as images or content load may need a deliberate wait or a readiness condition before capture. Playwright supports waiting for selectors and other page interactions; choose a condition tied to the content you need rather than assuming a fixed delay always works.
  • For html2canvas, check canvas size and rendering support. Its FAQ notes that oversized canvases can yield blank or partial output and that CSS support is incomplete.

Images or frames are missing in html2canvas output

Check whether the image or iframe is cross-origin and whether the required access is available. The html2canvas documentation describes same-origin restrictions and inaccessible cross-origin iframes; the FAQ explains the canvas tainting issue. A browser screenshot captures what the browser rendered, but it does not grant access to content the page itself cannot load.

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

The script fails before it can capture

  • Node.js with html2canvas: The FAQ says html2canvas depends on browser APIs such as window, document, and computed styles, so it cannot run directly in Node.js. For server-side screenshot generation, it points to headless browser automation with Puppeteer or Playwright.
  • Playwright browser launch: Make sure the browser binaries required by your installation are installed and that the runtime can launch the selected browser. Consult the current Playwright installation and troubleshooting documentation for the specific launch error.
  • Chromium protocol mismatch: The DevTools Protocol is version-sensitive. Check the live protocol schema and your browser version when a command or parameter is unavailable.

The capture differs between runs

Standardize the viewport, wait for the page content that matters, and consider animation control or masking for dynamic elements. Differences may also come from page content changing between visits; do not treat a screenshot comparison as evidence of a browser regression until you have controlled the page state.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Performance, reliability, and cost considerations

A browser-driven screenshot requires a browser to load and render the page, so the work includes navigation and rendering rather than only drawing an already available DOM snapshot. The reviewed documentation does not establish a comparative speed benchmark for Playwright, Puppeteer, CDP, or html2canvas; choose based on fidelity, environment, control, and operational needs rather than an unsupported speed ranking.

For recurring server-side jobs, account for browser processes, navigation failures, timeouts, and page variability in your own workflow. Reuse or isolate browser resources according to your application’s requirements, set timeouts deliberately, and record failures separately from successful captures. No general cost figure applies to self-hosted automation: it depends on where and how you run the browser.

Or skip the browser setup

ScreenshotNeo offers a website screenshot API and MCP server for developers. One GET request can return a PNG, JPEG, WebP, or PDF. Its cleanup options accept consent banners like a visitor and remove more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each step can be disabled. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and responses include X-Page-Verdict and X-Billed headers. An MCP server exposes take_screenshot, get_page_info, and capture_pdf for AI agents and MCP clients.

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

For example, this cURL request saves a WebP capture of Stripe:

Best Value
acer USB 3.0 HDMI Capture Card, 4K HDMI Loop-Out, 1080P 60Hz for Streaming
  • 【4K Clarity, 1080P Performance】Enjoy stunning clarity with our USB 3.0 Video Capture Card—featuring 4K input and smooth 1080P@60Hz output. Featuring YUY2 technology, it delivers richer colors than MJPEG for lifelike live streaming and recording. Plus, it delivers high-quality video with minimal latency, making it perfect for gamers and content creators.
  • 【Mic-in for Easy Commentary】Plug in a headset or mic directly to stream/record voice easily—no extra adapters. Great for real-time gaming commentary, online classes, or vlog dubbing. Paired with its low-latency tech, it keeps voice synced perfectly with video, eliminating post-editing hassle from mismatched audio-visuals. Fits most 3.5mm devices—ideal for gamers, teachers, creators.
  • 【Plug and Play, no Extra-Drivers】No extra drivers or external power—just plug in and start capturing instantly. Small and lightweight, it fits easily in your bag for outdoor live streams, on-the-go recordings, or emergencies. Ideal for game capture, video conferences, and online teaching, it saves hassle while delivering smooth results.
  • 【Wide Compatibility: Apps & Devices】No extra adapters—works flawlessly with your go-to platforms and gear. It pairs with streaming/recording apps like Twitter, YouTube, Facebook, OBS, XSplit, and VLC, plus devices including Switch/Switch2, PS5/PS4, Xbox, DSLR cameras, PC, macOS, and Android. Whether gaming, streaming, or hosting video calls, it keeps HD quality intact, eliminating "compatibility headaches".
  • 【Worry-Free After-Sales Support】We are committed to delivering exceptional quality products that combine sophisticated design with affordable pricing, offering you the best solutions for seamlessly connecting your work and life. Whether you're a newcomer or a seasoned user, feel free to reach out anytime with any questions—your satisfaction is our top priority.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo documentation for API options and setup. The service also supports full-page capture, CSS-selector element capture, viewport and device presets, custom headers and cookies, waiting conditions, request blocking, caching, async jobs, and bulk capture. Its pricing is Free for 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Learn about ScreenshotNeo or sign up for 1,000 free screenshots a month with no card.

Frequently asked questions

Can a browser screenshot capture a page without JavaScript?

A screenshot API captures the browser’s rendered result; it does not itself require you to redraw the page with JavaScript canvas. Whether the page can be rendered without running its own scripts depends on that page’s design and the browser setup.

Does a visible-tab extension screenshot include the whole page?

Not necessarily. The extension methods cited by the html2canvas FAQ capture the visible tab. Consult the browser’s current extension API documentation for any full-page workflow you intend to use.

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.

Which method should I use for an AI agent?

If the agent can operate an MCP client, ScreenshotNeo’s MCP server provides screenshot, page-info, and PDF-capture tools. For an application that already automates a browser directly, Playwright’s screenshot API is a natural option.

Can I get a PDF instead of an image?

Playwright’s browser automation documentation and Puppeteer materials include PDF generation as a browser automation use case; ScreenshotNeo’s API can return a PDF. Select a PDF workflow when you need paginated document output rather than a raster image.

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.