返回顶部
f

full-webpage-screenshot

Capture full-page screenshots of websites with lazy-load support. Use when: user wants to screenshot a webpage, take a website screenshot, capture a full page, or needs visual documentation of a website. Supports scrolling to trigger lazy-loaded content.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.2
安全检测
已通过
110
下载量
1
收藏
概述
安装方式
版本历史

full-webpage-screenshot

# Full Webpage Screenshot Capture complete webpage screenshots using Puppeteer, including content that loads dynamically on scroll. ## When to Use ✅ **USE this skill when:** - "Screenshot this website" - "Take a screenshot of example.com" - "Capture the full page" - "Get a visual of this webpage" - "截个网页图" - "给这个网站截屏" ## When NOT to Use ❌ **DON'T use this skill when:** - Screenshotting local files → use system screenshot tools - Capturing specific elements only → use browser DevTools - Video/screenshots of interactions → use screen recording - Need for authenticated pages → manual browser required ## Setup First-time setup (installs Puppeteer): ```bash cd ~/.openclaw/skills/full-webpage-screenshot/scripts npm install ``` ## Commands ### Basic Screenshot ```bash cd ~/.openclaw/skills/full-webpage-screenshot/scripts node screenshot.js "https://example.com" ~/workspace/screenshot.png ``` ### Custom Viewport (Mobile/Desktop) ```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 ``` ### Slow-Loading Pages ```bash cd ~/.openclaw/skills/full-webpage-screenshot/scripts WAIT_AFTER=5000 node screenshot.js "https://slow-site.com" screenshot.png ``` ## Options | Variable | Default | Description | |----------|---------|-------------| | `VIEWPORT_WIDTH` | 1280 | Browser viewport width | | `VIEWPORT_HEIGHT` | 800 | Browser viewport height | | `SCROLL_DELAY` | 100 | Delay between scroll steps (ms) | | `WAIT_AFTER` | 2000 | Wait after page load (ms) | ## Output Returns JSON: ```json { "success": true, "path": "/path/to/screenshot.png", "width": 1280, "height": 4352 } ``` ## Quick Responses **"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 ``` ## Notes - Requires Node.js 18+ - First run needs `npm install` in scripts/ - Automatically scrolls to trigger lazy-loaded content - Supports all modern web features (JS, CSS, fonts)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 full-webpage-screenshot-1776103202 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 full-webpage-screenshot-1776103202 技能

通过命令行安装

skillhub install full-webpage-screenshot-1776103202

下载 Zip 包

⬇ 下载 full-webpage-screenshot v1.0.2

文件大小: 15.42 KB | 发布时间: 2026-4-14 11:10

v1.0.2 最新 2026-4-14 11:10
修复所有路径引用为 full-webpage-screenshot

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部