Comment Comment by msmagh Thanks for sharing, similar command is available in Windows as well.I tested below command in PowerShell& 'C:\Program Files\Google\Chrome\Application\chrome.exe' ` --headless ` --print-to-pdf="$env:USERPROFILE\Downloads\page.pdf" ` '<url>' parent msmagh 2 years ago
I tested below command in PowerShell
& 'C:\Program Files\Google\Chrome\Application\chrome.exe' ` --headless ` --print-to-pdf="$env:USERPROFILE\Downloads\page.pdf" ` '<url>'