技能标识: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.
使用Puppeteer捕获完整的网页截图,包括滚动时动态加载的内容。
✅ 使用此技能的场景:
❌ 不要使用此技能的场景:
首次安装(安装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
bash
cd ~/.openclaw/skills/full-webpage-screenshot/scripts
WAIT_AFTER=5000 node screenshot.js https://slow-site.com screenshot.png
| 变量 | 默认值 | 描述 |
|---|---|---|
| VIEWPORTWIDTH | 1280 | 浏览器视口宽度 |
| VIEWPORTHEIGHT |
返回JSON格式:
json
{
success: true,
path: /path/to/screenshot.png,
width: 1280,
height: 4352
}
截取这个网站的截图
bash
cd ~/.openclaw/skills/full-webpage-screenshot/scripts
node screenshot.js $URL ~/workspace/screenshot.png
移动端截图
bash
cd ~/.openclaw/skills/full-webpage-screenshot/scripts
VIEWPORTWIDTH=375 VIEWPORTHEIGHT=812 node screenshot.js $URL mobile.png
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 full-webpage-screenshot-1776103202 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 full-webpage-screenshot-1776103202 技能
skillhub install full-webpage-screenshot-1776103202
文件大小: 15.42 KB | 发布时间: 2026-4-14 11:10