Removing header and footer and gray background color from a converted PDF file using headless chrome

I use headless chrome to convert a web page to pdf via cli commands. But into the generated PDF file along with my content header, footer and gray. I am trying to remove them from a PDF file. Are there any commands with headless chrome for this?

Generated pdf

+4
source share

Source: https://habr.com/ru/post/1691105/


All Articles