Full Page Screenshot
Paste the following prompt into your AI chat to install this skill:
Please install @user_6d07fe4c/full-page-screenshot into my AI assistant following https://skillhub.cn/install/skillhub.md.
About this skill
Problem Solved
Web screenshots often fail in predictable ways: full-page captures are clipped, lazy-loaded images never appear, and fixed or sticky UI elements land in the wrong places. Mobile layouts, internal scroll containers, and authenticated pages make it harder to produce a complete, reproducible image for docs, reports, or archives. This skill turns a URL into a more complete visual snapshot.
How It Works and Limits
The skill uses scripts/screenshot.js with Playwright and Chromium to support fullpage, viewport, and element modes. It auto-detects device context, switches to iPhone emulation when width=device-width or a narrow body width is detected, and handles internal scroll containers by scrolling, expanding height, and triggering lazy-loaded content. By default, position: fixed and position: sticky elements are hidden to avoid misplaced nav bars, floating buttons, or cookie banners in long captures.
Key capabilities:
- Full-page capture: scrolls page or container, waits for lazy content, and preserves full height
- Element capture: targets a specific DOM node via CSS selector
- Device simulation: desktop, iPhone, iPad, or auto-detected mobile layout
- Rendering controls: PNG/JPEG output, viewport size, wait time, dark mode, cookies, headers, and Basic Auth
- Linux font handling: detects missing CJK fonts and, when permitted, installs and verifies them automatically
Limitations: the skill depends on a working browser runtime. Complex SPAs may need longer wait times. Pages requiring login, cookies, custom headers, or Basic Auth must receive the appropriate parameters. On permission-restricted Linux systems, missing CJK fonts can still cause Chinese text to render as boxes.
Use Cases
- Capture a long SPA settings page as a complete PNG for technical docs and review.
- Debug missing lazy-loaded images or misplaced fixed navigation with element and viewport modes.
- Screenshot mobile H5 pages in iPhone emulation to verify narrow layouts and internal scroll containers.
- Capture authenticated dashboards using cookies, custom headers, or Basic Auth for audit records.
Best For
- Engineers writing API docs or acceptance reports who need inspectable webpage images.
- Frontend or mobile engineers who need to reproduce lazy-loading, sticky-nav, and scroll-container bugs.
- QA engineers who need iPhone or iPad screenshots to verify responsive layouts.
- Ops or automation engineers who need full Chinese-webpage screenshots on Linux servers.
Related Skills
Uses step-by-step choices to confirm business, palette, and layout, then exports an editable .drawio architecture diagram.
An agent skill for the Miaoyin AI music REST API that supports SUNO/Mureka-based song generation, continuation, cover, video, WAV, and stem splitting.
Distills text, files, or images into structured knowledge and generates knowledge-card prompts for drawing tools, supporting 3:4 portrait or 16:9 landscape outputs.
Build a parameterized minimal-poster design philosophy, then render a 3:4 SVG poster via show_widget for brand, social, or portfolio use.