SKILL

full-page-screenshot

当需要网页的整页或长截图时使用。通过Chrome DevTools Protocol捕获SPA滚动容器、懒加载图片和超长页面,无需额外依赖。

机器翻译
查看英文原文

Use when asked for a full-page or long screenshot of a web page. Captures SPA scroll containers, lazy images and very tall pages through Chrome DevTools Protocol with no extra dependencies.

适用对象:对象待分类。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Full Page Screenshot
  • Prerequisites
  • Workflow
  • Option A: Screenshot an already-open tab (recommended for authenticated pages)
  • Option B: Screenshot a URL (opens a background tab, captures, closes)
  • Parameters
  • Verify Output
  • Core Capabilities

Capture a full-page screenshot of any web page via Chrome DevTools Protocol. Produces a single PNG that includes all content — even portions that require scrolling. Zero external dependencies beyond Node.js 22+ and Chrome with remote debugging enabled. Node.js 22+ (uses built-in WebSocket) Chrome/Chromium with remote debugging enabled Check environment readiness: If Chrome check fails, instruct user to open chrome://inspect/#remote-debugging and enable "Allow remote debugging for this browser instance". 1. List available tabs: 2. Identify the target by title/URL, then capture: Note: --url mode creates a background tab. Pages requiring authentication (SSO, login walls) should use Option A instead. | Parameter | Description | Default | |-----------|-------------|---------| | output | Output PNG file path | /tmp/screenshot.png | | --width | Viewport width in CSS pixels (articles: 1200, dashboards: 1440-1920) | 1200 | | --dpr | Device pixel ratio (2 = Retina, but 4x file size) | 1 | | --wait | Page load timeout in ms (--url mode only) | 15000 | | --css | Custom CSS to inject before capture (e.g., hide elements) | — | 1. SPA scroll container expansion — Detects overflow-y: auto/scroll c

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
alirezarezvani/claude-skills
源文件
engineering/skills/full-page-screenshot/SKILL.md
固定版本
8f082544116fc0d014188e521ca40304cdfc86b0
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:alirezarezvani/claude-skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T14:01:46.803Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。