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

On Windows 11, the simplest way to save a website screenshot with Selenium is to install Selenium in a Python virtual environment, open Chrome with webdriver.Chrome(), navigate to the page, and call driver.save_screenshot(). With modern Selenium, Selenium Manager usually resolves ChromeDriver automatically, so start without downloading a driver yourself.

Set up Selenium on Windows 11

Open PowerShell and create a project folder, then create and activate a virtual environment and install Selenium:

  1. mkdir selenium-shot

  2. cd selenium-shot

  3. py -m venv .venv

  4. ..venvScriptsActivate.ps1

  5. python -m pip install -U selenium

If PowerShell prevents script activation, use a shell in which the environment’s activation script is permitted, or run the environment’s Python executable directly: .venvScriptspython.exe -m pip install -U selenium. These setup commands are standard Python guidance; they were not verified on a Windows 11 machine for this article.

Save a screenshot with Python

Save this as screenshot.py in the project folder. Replace the example URL with the page you want to capture.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
from pathlib import Path
from selenium import webdriver

output = Path.home() / "Pictures" / "website.png"
output.parent.mkdir(parents=True, exist_ok=True)

driver = webdriver.Chrome()
try:
    driver.get("https://example.com")
    saved = driver.save_screenshot(str(output))
    if not saved:
        raise OSError(f"Could not save screenshot to {output}")
    print(f"Screenshot saved to {output}")
finally:
    driver.quit()

Run it from the activated environment:

python screenshot.py

The script creates the Pictures folder if needed, saves the PNG there, checks Selenium’s success result, and closes the browser session even if navigation or saving raises an error. The destination is based on the current Windows user’s home directory; it does not assume every Windows installation has the same folder layout.

Wait for the page state you need

driver.get() navigates to the URL, but a page can continue loading content asynchronously afterward. For a dynamic page, wait for a meaningful element or condition that indicates the content you need is ready before calling save_screenshot(). A fixed delay may help in a particular case, but it is not a universal guarantee that a site has finished rendering.

Choose the capture scope

What you need Selenium approach What it captures
Browser window driver.save_screenshot(path) A PNG of the current window.
One page element Locate the element and call its screenshot operation. The selected element rather than the whole browser window.

The basic current-window command does not establish that Selenium automatically stitches a long document into a full-page image. If the requirement is one image of a whole long page, use a separately verified full-page method rather than assuming save_screenshot() does that.

Rank #2
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.

ChromeDriver compatibility and automatic setup

Try webdriver.Chrome() first. Selenium Manager handles browser-driver installation in most supported environments, avoiding a separate manual ChromeDriver download in the typical setup. Selenium’s Chrome guidance says, “By default, Selenium 4 is compatible with Chrome v75 and greater,” and advises matching Chrome and ChromeDriver at the major-version level. These are general compatibility guidelines, not a guarantee for every environment or a substitute for checking a specific release.

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

If you need to manage ChromeDriver yourself, first note the installed Chrome version, then use Google’s version-selection guidance to find a compatible driver: Chrome for Testing availability. Avoid relying on an old, separately installed executable when Selenium Manager is expected to choose the driver; conflicting versions can make diagnosis harder.

Troubleshoot common failures

  • Chrome does not start or Selenium reports a driver-session error: Record the Selenium package version, Chrome version, and—if installed separately—the chromedriver.exe version. Check that Chrome and ChromeDriver major versions match. Try allowing Selenium Manager to resolve the driver before installing one manually.

    Rank #3
  • Selenium Manager cannot obtain a driver: A proxy or network policy may block driver downloads. Check the full exception text and the machine’s network restrictions. If manual driver management is required, consult Google’s version-selection guidance and use a driver matching Chrome’s major version.

  • No PNG appears: Check the printed destination and confirm the current Windows user can write to that folder. The script creates the parent directory, and raises an error if Selenium reports that the screenshot was not saved.

    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.
  • The image is blank or missing dynamic content: The capture may have occurred before the desired content appeared. Wait for a relevant element or condition, then capture. Do not treat one fixed sleep duration as reliable for every site.

    Rank #4
    15.6 Inch Laptop Computer, N4020, 4GB DDR4 RAM, 128GB eMMC,with Windows 11
    • EFFORTLESS EVERYDAY PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 Home system, delivering reliable, low-power efficiency for daily tasks like document editing, email, online classes, and web browsing
    • 15.6-INCH FULL HD DISPLAY: Enjoy immersive visuals on the 15.6" FHD (1920x1080) anti-glare screen with micro-edge bezels. Delivers clear details and comfortable viewing for long study sessions, working on spreadsheets, and video playback
    • RESPONSIVE MULTITASKING & STORAGE: Built with 4GB LPDDR4 RAM and 128GB eMMC storage for smooth daily essential use. Expand your storage by up to 1TB via the integrated TF card slot to easily store movies, photos, and working files
    • ADVANCED CONNECTIVITY: Outfitted with 2x Full-Featured Type-C ports for data transfer, fast charging, and dual-monitor output, alongside 2x USB 3.2 Gen1 ports and a 3.5mm audio jack for complete peripheral compatibility
    • LIGHTWEIGHT & SILENT OPERATION: Slim and portable for effortless travel or commuting. Features a 1MP HD webcam for remote meetings, 38Wh battery with 45W Type-C fast charging, and a fanless silent design for peaceful work environments.
  • The image stops at the visible window: That is the scope of the basic current-window screenshot operation; it is not proof of full-page stitching. Use an approach specifically intended for full-page capture if that is required.

When asking for help, include the complete exception text, Selenium version, Chrome version, any standalone ChromeDriver version, and whether a proxy or network policy restricts downloads. The exact script above has not been independently tested on Windows 11.

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

Or skip the browser setup:

ScreenshotNeo can return a screenshot from one GET request. This cURL example saves a WebP for the target URL; create an API key and replace YOUR_API_KEY. See the ScreenshotNeo documentation for request options and response details.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Windows 11 Laptop with i3 Processor 15.6" Work Laptop for College Students
  • 【Efficient Performance】 Powered by Intel Core i3 processor (2 cores, 4 threads, up to 3.4GHz) with 12GB RAM and 256GB SSD. Handles multitasking, office software, online classes, and HD video streaming smoothly. Integrated Intel UHD Graphics 620
  • Backlit Keyboard & Complete Package】Comes with a cool backlit keyboard. Comes with awebcam, dual stereo speakers (8Ω/1.0W each), DC charger, and user manual – ready for late-night studying, online classes, video conferencing, and daily productivity
  • 【Vibrant Display】 15.6-inch Full HD (1920x1080) anti-glare screen with 16:9 aspect ratio delivers crisp images and vivid colors – perfect for studying, watching lectures, or entertainment. Thin-bezel design maximizes viewing area
  • 【Fast Connectivity & Expansion】 Equipped with WiFi 6 (802.11ax) and Bluetooth 5.2 for stable, high-speed wireless. Features 3 x USB 3.0, HDMI 2.1, Type-C (supports PD3.0 fast charging), and a TF card slot expandable up to 2TB – easily connect external monitors, mice, drives, or expand storage for all your files
  • 【Long Battery Life & Portable】 Built-in 11.55V 5000mAh/57.75Wh high-capacity battery delivers approximately 7 hours of mixed-use battery life – enough for a full day of classes and assignments. Lightweight at just 1.63kg (3.6 lbs) and 19.5mm thin, plus a compact packing size – easily slips into a backpack for campus, library, or coffee shop
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
  • Cookie banners are accepted before capture, and more than 60 known consent platforms, newsletter popups, and chat widgets are removed; each of these steps can be turned off.

  • Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed. Response headers identify the page verdict and billing status.

  • An MCP server provides take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients.

  • The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots. Every feature is available on every plan.

    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.

Sign up for ScreenshotNeo’s free plan to get 1,000 screenshots a month with no card.

Quick Recap

Bestseller No. 1
Bestseller No. 2
Dell Latitude 5420 14' FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
256 GB SSD of storage.; Multitasking is easy with 16GB of RAM; Equipped with a blazing fast Core i5 2.00 GHz processor.
$304.00
Bestseller No. 3
HP 14' HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
HP 14" HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
$247.99

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.