title: Node puppeteer take screenshot full page SPA
body: <p>I have a single page application with scrolling. I am trying to take a screenshot of the whole page, but it only gives me the visible part. How can I make it shoot the whole page?</p>
  
  <pre><code>  const browser = await puppeteer.launch(options);
    const page = await browser.newPage();
    await page.goto(url);
    await page.screenshot({ path: 'page.png', fullPage: true })
    await browser.close();
  </code></pre>