web-screenshot

Capture full-page screenshots of scroll-reveal animated websites using Node.js and Playwright.

1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/Arry8/openclaw-edge --skill web-screenshot-arry8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-screenshot
Source: https://github.com/Arry8/openclaw-edge/tree/main/skills/web-screenshot
Command: npx skills add https://github.com/Arry8/openclaw-edge --skill web-screenshot-arry8

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) components.

What problem does it solve?

Take reliable full-page screenshots of pages with scroll-reveal animations by forcing hidden content to render and triggering lazy-loaded resources, ensuring sections aren’t blank due to untriggered IntersectionObservers.

Core Features & Use Cases

  • Injects a reveal script to make elements visible and disable transitions, helping capture pages with scroll-based animations.
  • Forces lazy-loaded images to load and scrolls the page in viewport-sized steps to trigger IntersectionObservers, then re-applies the reveal pass for completeness.
  • Provides a standalone script for automated, repeatable screenshots on desktop and mobile, suitable for QA, visual comparison, and documentation.

Quick Start

Run the standalone script with a URL and output directory to capture desktop and mobile full-page screenshots.

Frequently Asked Questions about web-screenshot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I take full-page screenshots of scroll-reveal animations without blank sections?

Full-page screenshots of scroll-reveal animations require triggering IntersectionObservers before capture. This Skill injects a reveal script to force hidden elements visible, disables transitions, and scrolls the page in viewport-sized steps to ensure all lazy-loaded content renders.

Why does Playwright capture blank sections on pages with scroll-based animations?

Playwright captures blank sections because IntersectionObserver-based animations remain untriggered without scrolling. This Skill solves the issue by programmatically scrolling the page in viewport-sized steps and injecting scripts to force element visibility and load lazy images before capturing.

Can I use Playwright for visual regression testing on React and Next.js pages?

Yes, Playwright can perform visual regression testing on React and Next.js pages. This Skill automates reliable full-page captures across various frameworks by forcing lazy-loaded images to load and triggering scroll-reveal animations to render completely.

Does this screenshot automation tool support both desktop and mobile captures?

Yes, the screenshot automation script supports both desktop and mobile full-page captures. You run the standalone Node.js script with a target URL and output directory to automatically generate complete viewport-specific screenshots suitable for QA and documentation.

What is the best way to automate screenshots of lazy-loaded images for QA testing?

Automating screenshots of lazy-loaded images requires scrolling the page to trigger resource loading. This Skill leverages Playwright to step through the page, force lazy images to load, and disable CSS transitions, yielding flawless full-page captures for visual regression workflows.