Capture complete webpage screenshots using Puppeteer, including content that loads dynamically on scroll.
✅ USE this skill when:
❌ DON'T use this skill when:
First-time setup (installs Puppeteer):
bash
cd ~/.openclaw/skills/full-webpage-screenshot/scripts
npm install
bash
cd ~/.openclaw/skills/full-webpage-screenshot/scripts
node screenshot.js "https://example.com" ~/workspace/screenshot.png
bash
# Mobile view
cd ~/.openclaw/skills/full-webpage-screenshot/scripts
VIEWPORT_WIDTH=375 VIEWPORT_HEIGHT=812 node screenshot.js "https://example.com" mobile.png
# Desktop HD
VIEWPORT_WIDTH=1920 VIEWPORT_HEIGHT=1080 node screenshot.js "https://example.com" desktop.png
bash
cd ~/.openclaw/skills/full-webpage-screenshot/scripts
WAIT_AFTER=5000 node screenshot.js "https://slow-site.com" screenshot.png
VariableDefaultDescriptionVIEWPORT_WIDTH1280Browser viewport widthVIEWPORT_HEIGHT800Browser viewport heightSCROLL_DELAY100Delay between scroll steps (ms)WAIT_AFTER2000Wait after page load (ms)
Returns JSON:
json
{
"success": true,
"path": "/path/to/screenshot.png",
"width": 1280,
"height": 4352
}
"Screenshot this site"
bash
cd ~/.openclaw/skills/full-webpage-screenshot/scripts
node screenshot.js "$URL" ~/workspace/screenshot.png
"Mobile screenshot"
bash
cd ~/.openclaw/skills/full-webpage-screenshot/scripts
VIEWPORT_WIDTH=375 VIEWPORT_HEIGHT=812 node screenshot.js "$URL" mobile.png
npm install in scripts/