Render Google Charts with Puppeteer
问题 I am trying to figure ou the proper way to combine Puppeteer and the GoogleCharts library to render Bar charts and export a PNG image of the chart. The basic layout, mostly inspired by the Puppeteer documentation seems to be something like that, to create a new page with a canvas element. (async () => { const browser = await puppeteer.launch(); const page = await browser.newPage(); await page.setContent(` <!DOCTYPE html> <html> <body> <canvas id="chart" width="580" height="400"></canvas> <