What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Use Pyppeteer to launch Chromium, open a page, and save a screenshot with page.screenshot(). The example below captures the visible viewport; set fullPage=True to capture the full scrollable page. Pyppeteer requires Python 3.8 or later, but its project currently labels the library unmaintained, so consider Playwright Python for a new browser-automation project.
Install Pyppeteer and prepare Chromium
Install the package with pip:
python -m pip install pyppeteer
On first use, Pyppeteer downloads its bundled Chromium if it is not already available. The project README estimates that download at about 150 MB. To fetch it before running your script, use:
pyppeteer-install
You can also configure Pyppeteer to use a suitable Chrome or Chromium binary, but its API reference says compatibility with Chrome versions other than its bundled Chromium is not guaranteed. For the most predictable setup, start with the bundled browser.
Capture a website screenshot to a file
This example follows Pyppeteer’s documented asynchronous flow: launch the browser, create a page, navigate to a URL with its scheme, save the screenshot, and close the browser.
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitches#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
import asyncio
from pyppeteer import launch
async def main():
browser = await launch()
try:
page = await browser.newPage()
await page.goto("https://example.com")
await page.screenshot({"path": "screenshot.png"})
finally:
await browser.close()
asyncio.get_event_loop().run_until_complete(main())
Save the script as, for example, screenshot.py and run python screenshot.py. The output file is written to the current working directory. The try/finally ensures the browser is closed even if navigation or capture raises an error.
Pyppeteer’s goto uses a 30-second timeout by default and waits for the page’s load event by default. Pages that fetch or render important content after that event may need a more specific readiness condition before taking the screenshot.
Choose viewport, full-page, or region capture
Visible viewport
The basic call captures the page area currently visible in the browser viewport. Set viewport dimensions before navigation if the site’s responsive layout matters:
await page.setViewport({"width": 1440, "height": 900})
await page.goto("https://example.com")
await page.screenshot({"path": "viewport.png"})
Full scrollable page
Use Pyppeteer’s camel-case option fullPage=True to capture the full scrollable document rather than only the viewport:
Free tools Windows power users keep installed
One-click scans. No signup required.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
await page.screenshot({"path": "full-page.png", "fullPage": True})
This is Pyppeteer’s spelling; do not substitute Playwright’s full_page parameter in Pyppeteer code.
Clip a rectangle
Use clip to capture a rectangular portion of the page, with coordinates and dimensions expressed as x, y, width, and height:
await page.screenshot({
"path": "region.png",
"clip": {"x": 100, "y": 120, "width": 640, "height": 360}
})
Set the screenshot format and output
Pyppeteer supports a file path, PNG or JPEG output, JPEG quality, transparent background, and returning image data rather than writing a file. PNG is the default. JPEG quality is relevant when using JPEG; it does not apply to PNG.
- PNG: use
{"path": "shot.png", "type": "png"}, or rely on the default format. - JPEG: use
{"path": "shot.jpg", "type": "jpeg", "quality": 80}. Choose a quality value appropriate to your size-versus-detail needs. - Transparent background: use
"omitBackground": Truewhen the page content supports transparency. This removes the default white background. - In-memory output: omit
pathto obtain screenshot data instead of directing Pyppeteer to a file. The API also supports binary or base64 output.
For example, to write a JPEG with a transparent page background where applicable:
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
image_data = await page.screenshot({
"path": "shot.jpg",
"type": "jpeg",
"quality": 80,
"omitBackground": True
})
When a path is supplied, Pyppeteer saves the image there; the returned data can also be useful if your application needs to process or transmit the screenshot. Check the API reference for the exact accepted options and return behavior: Pyppeteer API reference.
Wait for content that appears after page load
If a screenshot is missing content, first identify what indicates that the relevant page region is ready. Waiting for a selector is often more robust than using an arbitrary fixed delay:
await page.goto("https://example.com", {"waitUntil": "load"})
await page.waitForSelector(".report-ready")
await page.screenshot({"path": "report.png", "fullPage": True})
Replace .report-ready with a selector that appears when the content you need is rendered. The goto timeout can be configured through its options if a page legitimately takes longer than the default; increasing it does not by itself ensure that asynchronously rendered content is ready.
Troubleshoot common Pyppeteer screenshot problems
Chromium download fails or the first run stalls
Pyppeteer downloads Chromium on first use when it is absent. Check that the machine can retrieve the browser and has enough disk space; alternatively, run pyppeteer-install in advance or configure a suitable Chrome binary. The project warns that non-bundled Chrome versions are not guaranteed compatible.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Navigation times out
goto has a documented 30-second default timeout. Confirm the URL is complete and begins with https:// or http://, and check that the site is reachable from the machine running the script. If the site is simply slow, configure the navigation timeout through the supported options. Do not treat a longer timeout as a substitute for waiting on the page state your capture needs.
The screenshot is blank or misses dynamic content
Determine whether the site’s meaningful content appears after the default load event. Wait for a relevant selector or another condition tied to that content before capturing. A fixed sleep can be too short on a slow run and wasteful on a fast one.
The image only shows the top of the page
The default is a viewport capture. Pass "fullPage": True (or the Python keyword spelling fullPage=True) when you need the full scrollable document.
A Chrome version mismatch causes failures
Pyppeteer works best with its bundled Chromium; compatibility with other Chrome versions is not guaranteed by the API reference. Prefer the bundled version or verify that the configured binary works with your installed Pyppeteer version.
Recommended Free Tools
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Maintenance context and a current alternative
The Pyppeteer GitHub README currently labels the project unmaintained and recommends considering Playwright Python. If you are starting a new automation project, evaluate whether Playwright fits: its official Python screenshot documentation covers ordinary, full-page, in-memory, and element screenshots. That is maintenance context, not a claim that migration is drop-in or that one library is faster.
For a hosted screenshot API rather than browser automation in your own Python process, ScreenshotNeo returns screenshots or PDFs from a GET request. It is useful when you want browser setup handled by a service and a response that reports whether a capture was billed.
Or skip the browser setup
One cURL request can save a screenshot without installing Chromium locally. See the ScreenshotNeo API documentation for request options.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
ScreenshotNeo removes cookie banners, popups, and chat widgets before the shot; bot checks, blank pages, and failed loads are never billed. Its MCP server lets AI agents take screenshots, and the Free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000. Sign up for the free plan.
Frequently Asked Questions
Does Pyppeteer take a screenshot of the full page by default?
No. The default is the visible viewport; use fullPage=True for the full scrollable document.
Quick Recap
Which Python version does Pyppeteer require?
The project README says Python 3.8 or later.
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.




