html-to-pdf
Convert a webpage URL to a PDF document. Set page size, margins, orientation, and more for tailored output.
Instructions
Convert a webpage URL to a PDF document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the webpage to convert | |
| delay | No | Delay before capture in milliseconds | |
| margin | No | Page margin in pixels | |
| pageSize | No | Page size | A4 |
| outputDir | No | Output directory path | |
| viewWidth | No | Viewport width in pixels | |
| singlePage | No | Render as single continuous page | |
| viewHeight | No | Viewport height in pixels | |
| orientation | No | Page orientation | portrait |
| removePopups | No | Remove popups and overlays | |
| outputFilename | No | Custom output filename | |
| navigationTimeout | No | Navigation timeout in milliseconds |