browser_save_pdf
Render the active webpage as a PDF with configurable scale, format, orientation, and background. Save to a specified path or get base64 data if no path is provided.
Instructions
Render the active page to PDF via CDP (works in headed/stealth mode). Saves to path, or returns base64 if path omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Output file path. If omitted, returns base64. | |
| scale | No | Render scale, default 1. | |
| format | No | ||
| landscape | No | ||
| printBackground | No | Include background graphics. Default true. |