Skip to content
Back to skills

Playwright Pdf Export Automation

BSecurity

Automates headless PDF generation from web pages using the Playwright chromium.launch() API with custom page.pdf() options. Supports A4/Letter sizing, header/footer templates, and configurable margins via Playwright's PDFOptions interface.

  • 67 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentspythongojavabashgitapisecurity

Works with

  • claude code
  • cli
  • api

Security analysis

B84/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill playwright-pdf-export-automation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Playwright Pdf Export Automation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Playwright Pdf Export Automation
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-playwright-pdf-export-automation/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-playwright-pdf-export-automation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Playwright PDF Export Automation"
slug: "playwright-pdf-export-automation"
description: "Automates headless PDF generation from web pages using the Playwright chromium.launch() API with custom page.pdf() options. Supports A4/Letter sizing, header/footer templates, and configurable margins via Playwright's PDFOptions interface."
github_stars: 86409
verification: "security_reviewed"
source: "https://github.com/microsoft/playwright"
category: "Browser Automation"
framework: "Claude Code"
tool_ecosystem:
  github_repo: "microsoft/playwright"
  github_stars: 86409
  npm_package: "playwright"
  npm_weekly_downloads: 47883561
---

# Playwright PDF Export Automation

Automates headless PDF generation from web pages using the Playwright chromium.launch() API with custom page.pdf() options. Supports A4/Letter sizing, header/footer templates, and configurable margins via Playwright's PDFOptions interface.

## Installation

Use the upstream install or setup path that matches your environment:
- npm install -g @playwright/cli@latest
- npm i playwright

Requirements and caveats from upstream:
- Playwright is also available for [Python](https://playwright.dev/python/docs/intro), [.NET](https://playwright.dev/dotnet/docs/intro), and [Java](https://playwright.dev/java/docs/intro).

Basic usage or getting-started notes:
- bash
- Optionally install skills for richer agent integration:
- playwright-cli install --skills

- Source: https://github.com/microsoft/playwright
- Extracted from upstream docs: https://raw.githubusercontent.com/microsoft/playwright/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/playwright-pdf-export-automation/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.