alvarcarto / alvarcarto/url-to-pdf-api

Updating puppeteer to support newer Chrome features

Đang mở
#188 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
HTML
Star
7.1k
Fork
779
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Recently I tried to render a page that uses the newish CSS `aspect-ratio` and the resulting screenshot doesn't recognize it. I suspect the reason is that this project is pinned to puppeteer v2 which predates Chrome support for `aspect-ratio`.

Puppeteer is currently on v19 and it looks like Chrome added support for `aspect-ratio` around the time Puppeteer v13 was released. I tried updating package.json to newer versions but the API in those newer versions has changed (in ways I have not studied closely yet) so the app errors out.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.