microsoft-edge --headless --print-to-pdf=aaa.pdf https://yourdomain/yoururl
或者
chrome --headless --print-to-pdf=aaa.pdf https://yourdomain/yoururl
评论