This repository was archived by the owner on Jul 29, 2026. It is now read-only.
Repository navigation
v0.2.5: Full Page Screenshot Support
What's New
✨ Features
- Full Page Screenshots: Added support for capturing full-page screenshots by specifying "full" as the viewport height
- Use
--viewport-height "full"to capture the entire page height - Works with any viewport width configuration
- Particularly useful for mobile viewports to capture long scrolling pages
- Use
📝 Usage Example
# Capture full page at mobile width
node capture-screenshot.js http://localhost:3000 screenshot.png --viewport 375 --viewport-height "full"🔧 Technical Details
- Updated
capture-screenshot.jsto parse "full" as a special viewport height value - When "full" is specified, the script sets
fullPage: truein Playwright's screenshot options - Updated documentation and help text to explain the new functionality
📦 Installation
npm install -g diffshot-ai@0.2.5