Puppeteer custom header footer for PDF render
问题 I am working on rendering a PDF of a site. I want different headers and footers for the first page and different for the rest of the pages. Is there any way to do this? const puppeteer = require('puppeteer'); (async() => { var t = Date.now(); console.log('Current time ' + t + ' msec'); const browser = await puppeteer.launch({executablePath: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe', ignoreHTTPSErrors:true, headless:true, devtools:false}); const page = await browser