full-page-screenshot

Captures full-page screenshots of web pages as single PNG images via Chrome DevTools Protocol.

Updated Aug 12, 2026
One-click install
npx skills add https://github.com/Barbaros911/As-mine --skill full-page-screenshot-barbaros911
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: full-page-screenshot
Source: https://github.com/Barbaros911/As-mine/tree/main/.claude/skills/full-page-screenshot
Command: npx skills add https://github.com/Barbaros911/As-mine --skill full-page-screenshot-barbaros911

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Standard browser screenshots only capture the visible viewport, missing all content below the fold. This Skill captures the entire scrollable page—including SPA internal scroll containers and lazy-loaded images—as one complete PNG long image, without requiring Puppeteer, Playwright, or any npm dependencies. ## Core Features & Use Cases - Full-page capture via CDP: Connects directly to Chrome DevTools Protocol to render the entire page into a single PNG, with automatic tiling and stitching for pages over 16,000px tall. - SPA and lazy-load handling: Detects and expands overflow-y: scroll/auto containers, waits for DOM stability, and scrolls to trigger IntersectionObserver images before capturing. - Two capture modes: Screenshot an already-open browser tab by targetId (ideal for login-protected pages) or provide a URL to open, capture, and close automatically. - Use Case: You need to archive a long analytics dashboard rendered in an internal SPA. List open tabs, match the dashboard's targetId, and capture the full scrollable content as one high-resolution PNG. ## Quick Start Ask Claude to take a full-page screenshot of a specific URL or of the web page you currently have open in Chrome.

Frequently Asked Questions about full-page-screenshot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I take a full-page screenshot of a web page in Chrome?▼

Run the script with a URL or an existing tab's targetId and it captures the entire scrollable page as one PNG via Chrome DevTools Protocol. It requires Node.js 22+ and Chrome remote debugging enabled, with no Puppeteer or Playwright installation.

How to screenshot a page that requires login?▼

Open the page in Chrome yourself first, then list open tabs with the --list flag and capture by targetId. The --url mode creates a background tab that may fail authentication on SSO or internal systems.

Does full-page capture work with SPA scroll containers?▼

Yes, the script detects elements with overflow-y set to auto or scroll, scrolls through them to trigger lazy loading, then overrides height constraints with !important CSS so all content renders before capture.

Why does my screenshot fail on very long pages?▼

Pages over 20,000px at high device pixel ratios can cause Chrome memory issues. Lower the --dpr flag to 1 or reduce --width; pages over 16,000px are automatically captured in 8,000px tiles and stitched with Python PIL.

What are the limitations of CDP-based screenshot capture?▼

The browser WebSocket can be held by a CDP proxy, in which case the script falls back to the proxy API. Tiled stitching requires Python 3 with Pillow; without it, tile files are kept separately instead of one merged image.