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

Set fullPage: true in either Puppeteer’s or Playwright’s page.screenshot() call to capture the page’s full scrollable content instead of only the visible viewport. Supply a path to save an image, or omit it and use the returned bytes in memory. These captures include webpage content—not browser tabs, the address bar, or the desktop.

What a full-page screenshot captures

A regular screenshot records the area currently visible inside the page’s viewport. A full-page screenshot extends the capture to the page’s full scrollable height, as though the page fit on a very tall screen. In both Puppeteer and Playwright, the key option is fullPage: true; its default is false.

That does not mean a screenshot of the entire browser window. Page screenshot APIs capture web content, not browser controls such as tabs, the address bar, or the window frame. If you need those, use an operating-system or desktop capture tool instead.

Capture a full page with Puppeteer

Install Puppeteer in a Node.js project with npm install puppeteer. The following ES-module example opens a page, waits for network activity to become quiet, saves a PNG, and closes the browser even if capture fails:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
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
import puppeteer from 'puppeteer';

const browser = await puppeteer.launch();
try {
  const page = await browser.newPage();
  await page.goto('https://example.com', { waitUntil: 'networkidle2' });
  await page.screenshot({ path: 'full-page.png', fullPage: true });
} finally {
  await browser.close();
}

The path determines where the image is written. When a path is supplied, Puppeteer infers the image type from the filename extension; the documented default type is PNG. For example, change the path to full-page.jpeg if you want a JPEG output.

Return screenshot data instead of saving a file

Omit path to receive the screenshot data from the API. In the binary case, Puppeteer returns a Uint8Array, which you can pass to another library or write yourself:

const bytes = await page.screenshot({ fullPage: true });
// bytes is a Uint8Array when binary encoding is used

The screenshot API can also return a base64 string depending on the options used. Choose the representation expected by the next step in your workflow: a file for a human-accessible artifact, bytes for image processing or uploads, or encoded text when an interface specifically expects base64.

Capture a full page with Playwright

Install the Playwright package with npm install playwright. Playwright’s browser binaries may also need to be installed for your environment; run npx playwright install if the browser launch reports that the executable is missing. This example uses Chromium:

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.
import { chromium } from 'playwright';

const browser = await chromium.launch();
try {
  const page = await browser.newPage();
  await page.goto('https://example.com', { waitUntil: 'networkidle' });
  await page.screenshot({ path: 'full-page.png', fullPage: true });
} finally {
  await browser.close();
}

As in Puppeteer, setting path writes the image to a file. To use the result in memory instead, omit the path; Playwright’s screenshot method returns a buffer:

const buffer = await page.screenshot({ fullPage: true });

That buffer can be passed to an image-processing library or stored by your application. The screenshot guide documents buffer capture for post-processing, so there is no need to create a temporary image file unless another part of your workflow requires one.

Rank #2
Audio Express AXHDCAP 4K HDMI Video Capture Card, Cam Link Card Game Audio Adapter HDMI to USB 2.0 Record Capture Device for Streaming, Live Broadcasting, Video Conference, Teaching, Gaming
  • [Enhanced 4K-1080P Video Capture Experience] Capture the Magic: Elevate your video recordings to new heights with our upgraded anti-static 1080P Video Capture Card. Immerse yourself in stunning visuals, supporting HDMI input at 4K 60FPS and USB output for capturing in 1080P, complete with rich stereo sound. Enjoy crystal-clear video recordings, dynamic gaming live streams, and professional conference broadcasts. Note: HDMI resolution: Max input can be 3840×2160@30Hz / Video output resolution: Max output can be 1920×1080@30Hz
  • [Seamless Real-Time Preview] Stay in the Moment: Our advanced ultra-low latency technology ensures seamless real-time transmission of video streams. Experience instant, lag-free previews, allowing you to capture every detail precisely. Effortlessly record video directly to your hard disk, all without compromising on quality or introducing any delays.
  • [Versatility and Broad Compatibility] Your Creative Hub: Connect your DSLR, camcorder, or action camera to a wide range of operating systems, including Windows, MacOS, and Linux. Unlock a world of possibilities with real-time streaming to popular platforms like Twitch, Youtube, OBS, Zoom, Potplayer, and VLC, giving you the tools to share your content effortlessly.
  • [Effortless Plug and Play] Simplicity Redefined: Say goodbye to complex installations. Our plug-and-play design eliminates the need for drivers or external power supplies. Seamlessly integrate high-definition acquisition into various scenarios, whether it's educational recordings, immersive gaming, precise medical imaging, captivating live streams, or professional broadcasting.
  • [Seize Every Detail with Precision] Unleash your creativity and attention to detail with our video capture card. Capture every nuance, every color, and every moment with precision, thanks to the enhanced capabilities of our technology. Whether you're a content creator, a gamer, or a professional, our capture card empowers you to seize the finest elements and bring them to life in your recordings and live streams.

Use Playwright’s command-line screenshot workflow

For a direct CLI capture, Playwright supports --full-page and --filename. With the Playwright CLI available, run:

playwright-cli screenshot --full-page --filename=full-page.png

Use the full-page flag for the scrollable page rather than just the current viewport, and set the filename to control the output name. The CLI is useful for a one-off command-line capture; use the library APIs when the capture needs to be part of application logic, test setup, or a larger automation flow.

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

Wait for the page before taking the screenshot

Calling fullPage: true controls the capture area; it does not guarantee that every image or application component has finished loading. A page can still be rendering, fetching data, or loading images only when they approach the viewport. The official screenshot options do not promise that all lazy-loaded assets will appear automatically.

Choose a readiness condition based on the site being captured rather than adding the same fixed delay to every page. If a known element indicates that the relevant content is ready, wait for it explicitly before the screenshot:

await page.goto('https://example.com', { waitUntil: 'domcontentloaded' });
await page.locator('[data-page-ready="true"]').waitFor();
await page.screenshot({ path: 'full-page.png', fullPage: true });

Replace the example selector with one that exists on your target site. It is also reasonable to wait for a site-specific application state or a known content element. Network-idle navigation waits can be convenient, but pages with persistent network requests may never become idle; conversely, network activity stopping does not necessarily prove that a particular image or client-rendered component is ready.

Options for shaping the capture

Use fullPage when you want the full scrollable document. Other options solve different problems and can be combined where the API permits.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
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.
Need Puppeteer Playwright
Capture the full scrollable page fullPage: true fullPage: true
Save to a file path; image type is inferred from extension when a path is supplied path
Restrict capture to a rectangle clip clip, with x/y origin and width/height
Choose CSS-pixel or device-pixel output Not stated here scale: 'css' for one pixel per CSS pixel; scale: 'device' for device-pixel output (documented default)
Cover selected page elements in the image Not stated here mask with selected locators; the documented default mask color is pink
Control animation or text caret appearance Not stated here animations and caret controls

Capture a region with clip

Use a clip rectangle when you need a specific area rather than the whole document. Playwright’s clip defines the rectangle’s x/y origin and its width and height. Puppeteer also supports a rectangular clip; its captureBeyondViewport option controls capture beyond the viewport when clipping, and its documented default depends on whether a clip is provided. A clip is not a substitute for full-page capture: it is the right choice when the desired result is a bounded region.

Choose Playwright output scale

Playwright’s scale option controls output pixel density. Choose css for one output pixel per CSS pixel, which can keep an image smaller; choose device for device-pixel output, the documented default. The setting changes image dimensions and sharpness, not the page’s CSS layout.

Mask content and reduce visual variation

Playwright’s mask option covers selected locators in the screenshot; its documented default mask color is pink. This is useful when a particular element should not appear in the output. Playwright also documents animations and caret controls for disabling animations and hiding the text caret, which can help make repeated captures more consistent. These controls do not replace waiting for the page’s content to be ready.

Choose between Puppeteer and Playwright

The full-page behavior is similar in both libraries, so the best fit usually depends on the surrounding project rather than screenshot height alone.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Choose Puppeteer when your project already uses its focused Chrome automation API and you want to keep the capture in that environment.
  • Choose Playwright when you want its cross-browser framework, its documented screenshot controls such as scale and masks, or its CLI workflow.
  • Use the library already in your test or automation setup if it meets the capture requirements; adding a second browser automation stack solely to set fullPage usually adds unnecessary setup.

The cited screenshot APIs establish the options above, but do not establish a general performance or reliability ranking between the two libraries. Do not assume that one is universally faster or that either makes a dynamic page ready without an appropriate wait.

Troubleshoot common full-page screenshot problems

The image only shows the viewport

Check that the screenshot call—not just navigation—contains fullPage: true. The option defaults to false in Puppeteer, and Playwright’s full-page behavior likewise requires the flag. If you are using the CLI, include --full-page.

Rank #4
Sale
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.

Images or lower-page content are missing

The page may not have finished loading the relevant content, or it may load assets lazily as the user scrolls. Wait for a meaningful locator or application-ready state before capture. A universal sleep is less dependable because sites differ in how and when they render. If the missing content is below the fold, confirm that the page itself has rendered it before expecting the screenshot to include it.

Navigation never completes

A wait such as networkidle or Puppeteer’s networkidle2 can be unsuitable for a site that keeps requests open or continually polls. Navigate using an earlier condition such as domcontentloaded, then wait for the specific content your capture requires. This avoids treating a quiet network as the only definition of readiness.

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

The screenshot is larger or softer than expected

For Playwright, check whether scale is set to device or css. Device-pixel output can have more pixels than CSS-pixel output. If the image format matters, check the filename extension when saving a Puppeteer screenshot: with a path supplied, Puppeteer infers type from that extension.

The output does not contain the address bar or tabs

That is expected. page.screenshot() captures page content, not browser chrome. Switch to a desktop or operating-system screenshot tool when the browser frame itself is part of the requirement.

The command or browser cannot be found

For a missing package command, confirm that Playwright is installed in the project and invoke its CLI through the package runner if needed. If the library launches but cannot find a browser executable, install the Playwright browser binaries for the environment. In Puppeteer, verify that the package is installed and that the process can launch its browser in the current runtime.

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

Or skip the browser setup

If you need a screenshot without managing a browser process, ScreenshotNeo provides a website screenshot API and MCP server. One GET request returns an image or PDF; its features include full-page capture with lazy images loaded. For developers already using Puppeteer or Playwright, a local browser gives direct control over the capture environment, while an API can be simpler when you want to request a screenshot from an application or AI agent.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Capture Card, USB Video Capture Card Device, Audio Video Converter Grabber for RCA to USB-Convert VHS Mini DV VCR Hi8 DVD to Digital, for PC TV Tape Player Camcorder, MAC Windows Vista Compatible
  • AV TO USB Converter: Capture videos and audios from VHS, VCR, Hi8, DV tapes to a PC, with the help of our USB Video Converter. Save room while digitizing your favorite old memories
  • Quality Capture Card: Our USB Video Capture Card converting anolog RCA composite input into HD 720P USB output and capturing audio without any sound card. Advanced signal processing technology provides you with great precision, colors, resolutions, and details.
  • Plug and Play: Automatically install the driver once you hook up this RCA to USB Converter to a PC. No external power is needed. User-friendly and easy to operate
  • Wide Compatibility: The Video Capture Card can work with video devices with RCA connector or S-Video connector, such as VHS, VCR, Hi8, camcorder, compatible with Windows and Mac OS. Support video formats like NTSC, PAL, and support brightness, contrast, hue, and saturation control
  • Note: The Video Converter is used with acquisition software. We recommend OBS Studio or PotPlayer for Windows, and QuickTime Player for Mac. They can be downloaded for free online. Please operate according to the steps in User Manual or contact us if you have any questions

For example, save a screenshot as WebP with cURL:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp

See the ScreenshotNeo API documentation for setup and request options. Cookie banners are accepted and removed before capture, along with known consent platforms, newsletter popups, and chat widgets; each step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers indicate the page verdict and billing status. Its MCP server exposes take_screenshot, get_page_info, and capture_pdf for AI agents using Claude, Cursor, or another MCP client. 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’s free plan to try a capture without a credit card.

ScreenshotNeo is a website screenshot API and MCP server made by Yorker Media. Its listed plans are Free (1,000 shots/month), Starter ($5 for 3,000), Growth ($15 for 15,000), Pro ($39 for 60,000), Scale ($99 for 250,000), and Business ($249 for 1,000,000); yearly billing gives two months free, and every feature is on every plan.

Frequently asked questions

Can I capture only one element instead of the full page?

Yes. Use the element’s bounding area or a locator-based capture workflow where supported by your setup. For a rectangular area, the documented clip option specifies a capture rectangle. If you need a specific element, first identify its bounds rather than using a full-page screenshot.

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

Can full-page screenshots be used in automated tests?

Yes. The examples call the screenshot API directly, so they can be placed in test setup or a visual-regression workflow. Keep the readiness condition and output scale consistent between runs to make comparisons meaningful.

Does full-page mode automatically scroll through the site like a person?

The APIs define the result as a capture of the full scrollable page. They do not promise that every site’s scroll-triggered behavior or lazy-loaded content will be activated; wait for the particular content your test needs.

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.