What problem does it solve? Turning designed HTML pages, cards, or chart blocks into shareable images usually requires manual screenshots or external services. This Skill batch-screenshots every element matching a CSS selector in a local HTML file and saves each one as a separate PNG, ready for social media cards or WeChat article modules. ## Core Features & Use Cases - Batch Element Screenshots: Renders a local HTML file in headless Chromium via Puppeteer and captures every element matching a given CSS selector (e.g., .page) as an individual PNG file. - Viewport and Density Control: Configurable page width, height, and deviceScaleFactor (default 2-3) to produce high-resolution images sized for mobile feeds like Xiaohongshu (375x667). - Render Readiness Gates: Waits for fonts, network idle, and optional global flags (e.g., ECharts initialization) before capturing, and fails rather than emitting blank images when nothing matches the selector. - Use Case: After generating a multi-page HTML carousel for a Xiaohongshu post, run this Skill to produce one numbered PNG per page in a task-specific output directory. ## Quick Start Ask the agent to screenshot every element matching the .page selector in your local HTML file into a specified output folder using this Skill.