CSS for tr:last-child { height: 100%; } or table height not working in puppeteer PDF

前端 未结 0 1097
半阙折子戏
半阙折子戏 2020-12-23 17:44

I have Node.js code like:

await page.setContent(html, {waitUntil: \'networkidle2\'});

const pdf = await page.pdf({
  format: \'A4\',
  printBackground: true,         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题