Skip to content

CLI: use Playwright native screenshots instead of html2canvas (1.0) #8

Description

@peas

The CLI runs html2canvas inside headless Chromium to rasterize slides — redundant where Playwright's locator.screenshot() exists, with better fidelity (html2canvas re-renders DOM to canvas and misses webfonts/filters/blend modes; unmaintained since 2022).

Keep html2canvas only for the in-browser export path (no Playwright there). Removes the vendored dependency from the CLI pipeline. Design note from the 2026-07-15 review; not a 0.9 blocker since the vendored copy fixed the CDN flakiness.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions