Loading...
Loading...
Capture screenshots of web pages using headless Chrome. Use when you need to capture website appearances, create thumbnails, or archive web pages visually.
npx skill4agent add winsorllc/upgraded-carnival web-screenshot/job/.pi/skills/web-screenshot/screenshot.js "https://example.com" /tmp/screenshot.png/job/.pi/skills/web-screenshot/screenshot.js "<url>" <output_file>/job/.pi/skills/web-screenshot/screenshot.js "<url>" <output_file> --full/job/.pi/skills/web-screenshot/screenshot.js "<url>" <output_file> --width 1920 --height 1080/job/.pi/skills/web-screenshot/screenshot.js "<url>" <output_file> --delay 3000/job/.pi/skills/web-screenshot/screenshot.js "<url>" <output_file> --mobile| Option | Default | Description |
|---|---|---|
| false | Capture full page (scroll height) |
| 1280 | Viewport width in pixels |
| 800 | Viewport height in pixels |
| 0 | Wait time before capture (ms) |
| false | Use mobile viewport (375x667) |
| 80 | JPEG quality (1-100) |
| png | Output format: png, jpeg, webp |
| null | CSS selector to wait for |
| false | Enable dark mode emulation |
# Basic screenshot
/job/.pi/skills/web-screenshot/screenshot.js "https://example.com" /tmp/example.png
# Full page capture
/job/.pi/skills/web-screenshot/screenshot.js "https://example.com/page" /tmp/full.png --full
# Desktop viewport
/job/.pi/skills/web-screenshot/screenshot.js "https://example.com" /tmp/desktop.png --width 1920 --height 1080
# Mobile view
/job/.pi/skills/web-screenshot/screenshot.js "https://example.com" /tmp/mobile.png --mobile
# Wait for dynamic content
/job/.pi/skills/web-screenshot/screenshot.js "https://example.com" /tmp/delayed.png --delay 5000
# Wait for specific element
/job/.pi/skills/web-screenshot/screenshot.js "https://example.com" /tmp/wait.png --wait-for ".loaded-content"
# High quality JPEG
/job/.pi/skills/web-screenshot/screenshot.js "https://example.com" /tmp/thumb.jpg --format jpeg --quality 90
# Dark mode capture
/job/.pi/skills/web-screenshot/screenshot.js "https://example.com" /tmp/dark.png --dark-mode