Install
openclaw skills install capture-websiteCapture website screenshots from the command line. Use when user wants to take screenshots of any URL (Twitter, news sites, webpages) and send them via Disco...
openclaw skills install capture-websiteTake screenshots of any website and send to user.
capture-website <URL> --output=/home/aaronz/.openclaw/workspace/screenshot.png
| Option | 说明 | 示例 |
|---|---|---|
--output | 输出文件路径 | --output=/tmp/screenshot.png |
--full-page | 截取完整页面 | --full-page |
--width | 页面宽度 | --width=1280 |
--height | 页面高度 | --height=800 |
--type | 图片格式 | --type=png 或 --type=jpeg |
--delay | 加载后等待秒数 | --delay=2 |
--wait-for-element | 等待元素出现 | --wait-for-element=.content |
--dark-mode | 暗色模式 | --dark-mode |
--emulate-device | 模拟设备 | --emulate-device="iPhone X" |
/home/aaronz/.openclaw/workspace/capture-website https://x.com/elonmusk/status/2026052687423562228 \
--output=/home/aaronz/.openclaw/workspace/tweet.png \
--width=1280 \
--height=800
Then send the file to user via Discord.
npm install -g capture-website-cli--delay=2 for slow-loading pages