← 返回
未分类 中文

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 pag...
支持懒加载的网页全页截图。使用场景:用户想截图网页、获取网站截图、捕获完整页面。
lifelooploop lifelooploop 来源
未分类 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 1
Stars
📥 458
下载
💾 1
安装
1
版本
#latest

概述

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):

cd ~/.openclaw/skills/full-webpage-screenshot/scripts
npm install

Commands

Basic Screenshot

cd ~/.openclaw/skills/full-webpage-screenshot/scripts
node screenshot.js "https://example.com" ~/workspace/screenshot.png

Custom Viewport (Mobile/Desktop)

# 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

cd ~/.openclaw/skills/full-webpage-screenshot/scripts
WAIT_AFTER=5000 node screenshot.js "https://slow-site.com" screenshot.png

Options

VariableDefaultDescription
--------------------------------
VIEWPORT_WIDTH1280Browser viewport width
VIEWPORT_HEIGHT800Browser viewport height
SCROLL_DELAY100Delay between scroll steps (ms)
WAIT_AFTER2000Wait after page load (ms)

Output

Returns JSON:

{
  "success": true,
  "path": "/path/to/screenshot.png",
  "width": 1280,
  "height": 4352
}

Quick Responses

"Screenshot this site"

cd ~/.openclaw/skills/full-webpage-screenshot/scripts
node screenshot.js "$URL" ~/workspace/screenshot.png

"Mobile screenshot"

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)

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-31 02:37 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Video Frames

steipete
使用 ffmpeg 从视频中提取帧或短片。
★ 133 📥 52,768
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 216 📥 47,036
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 330 📥 93,446