title: Usage of chrome headless for making PDF (puppeteer)
body: <p>I wondering how can I get PDF using Chrome Headless (for example puppeteer). It seems like a good PDF maker but only on chrome using @media print. So here is my question:</p>
  
  <p>Can I get PDF by puppeteer on another browser (ie, mozilla) too? I think I can do that if I want print static page with no inputs. But if I have inputs for users and they are saving it on IE. Can I use this somehow?</p>
  
  <hr>
  
  <p>Ok i downloaded the puppeteer. I've got the code: </p>
  
  <pre><code>$scope.aClick = function(){
          const puppeteer = require('puppeteer');
  
          (async () =&gt; {
            const browser = await puppeteer.launch();
            const page = await browser.newPage();
            await page.goto('/vUrl_form.html', {waitUntil: 'networkidle'});
            await page.pdf({path: 'images/asd.pdf', format: 'A4'});
  
            browser.close();
          })();
      };
  </code></pre>
  
  <p>and this can't still work (i don't know why, but app can't run). </p>