Closed richardgong1987 closed 6 months ago
Sorry, seems it support full page:
{
name: "fullpage",
instance: pdfBuilder.SetFullPage(true),
input: b.MustPage("https://www.example.com").MustWaitLoad(),
},
let me check again. thank you
ignore it
Yes, it supports full page, but when using PNG or JPG it may become too stretched. Maybe I'll refactor it in the future to enable more configurations, e.g. generate a folder of images of each page.
Yes, I also found this problem. I mainly use this package to generate PDF in the company's internal projects. I found that it will stretch. I think setting the width and height of the headless browser can solve the problem.
When the page exceeds 2 pages, only 1 page can be downloaded.