webpage-to-pdf
webpage-to-pdf
Captures a page exactly as Chrome renders it — not through the print pipeline — then paginates the screenshot into an A4/Letter/Legal PDF with a title/date header and a URL/page-number footer. Output is a WYSIWYG image-based PDF: text is not selectable. If the user needs selectable/searchable text, this is the wrong tool — point them at Chrome's own Print to PDF instead.
This skill is self-contained: the CLI's source ships inside this skill folder, so it works with nothing else installed beyond Google Chrome and the two Python dependencies below.
1. Confirm the CLI is available
Run webpage2pdf --version. If the command is not found, install this skill's bundled copy from this skill's own directory (the folder containing this SKILL.md):
python3 -m pip install -e /absolute/path/to/this/skill/directory
Requires Google Chrome; Selenium Manager fetches the matching chromedriver automatically. Done when webpage2pdf --version prints a version.