name: capturing-page-artifacts description: Captures screenshots, PDFs, and visual artifacts from pages driven by cdp scripts or the interactive CLI. Use when the task involves screenshot workflows, device emulation captures, PDF export, or embedding visual artifacts into recorded sessions.
Capturing Page Artifacts
Use this skill when the output is visual: screenshots, PDFs, or screenshot-backed test evidence.
Quick start
screenshotcaptures PNG artifactspdfexports print-style PDFs- HAR capture workflows can embed screenshots and DOM snapshots as annotations
Use this skill for
- choosing filenames and output directories
- sequencing screenshots across a workflow
- capturing mobile, tablet, dark-mode, or full-page variants
- combining visual artifacts with HAR tagging
Read next
- Screenshot and PDF details: references/screenshots.md
- Script authoring details: ../writing-cdp-scripts/SKILL.md