title: Can a har file be programmatically generated from headless chrome using Puppeteer?
body: <p>I would like to control a headless chrome instance using puppeteer, taking snapshots and clicking on various page elements, while capturing a har file.  Is this possible?  I have looked at the <a href="https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md" rel="noreferrer">API</a> but haven't found anything useful.  </p>