Render PDF pages to images, extract embedded images, annotate PDFs, and perform advanced PDF inspection using pymupdf (fitz). Use for tasks such as exporting...
Browser
Skill Playwright Html Pdf Renderer Migrate2
Try itRender deterministic PDFs from HTML using local Playwright/Chromium.
What it does
Render deterministic PDFs from HTML using local Playwright/Chromium.
The skill document
Playwright HTML → PDF Renderer
Setup (one-time per environment)
npm install playwrightnpx playwright install chromium
The
npx playwright install chromiumstep is bootstrap-only. Do not run it per request.
Runtime (every render request)
- Launch Playwright Chromium headless.
- Load HTML (
file://...orsetContent). - Wait for readiness (
networkidle,document.fonts.ready). - Export with
page.pdf({ printBackground: true, preferCSSPageSize: true }). - Close browser and verify output file exists.
API keys
- Local Playwright/Chromium: no API key required.
- Cloud browser provider: provider API key required.
Related skills
29 installs
Convert PDFs into reusable HTML.
Run browser automation through @playwright/mcp over UXC stdio MCP, with daemon-friendly session reuse and safe action guardrails. Use when tasks need determi...
35 installs
Design and visually review print-ready PDFs
1 installs
基于微软 Playwright CLI 的浏览器自动化技能。用于 Web 测试、页面交互、自动化工作流。当用户提到 playwright、browser automation、Web 测试、E2E 测试时触发。
3 installs
Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-ba...
8 installs