Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

v0.2.5: Full Page Screenshot Support

Choose a tag to compare

@sgasser sgasser released this 17 Jul 12:48
· 1 commit to main since this release

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

📝 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.js to parse "full" as a special viewport height value
  • When "full" is specified, the script sets fullPage: true in Playwright's screenshot options
  • Updated documentation and help text to explain the new functionality

📦 Installation

npm install -g diffshot-ai@0.2.5