It's nice to see serverless platforms adding support for headless Chrome. But there's still one problem with AWS Lambda / Cloud Functions / Zeit Now - the run time is limited to a few minutes. If you want to run any longer job, e.g. a web crawler, you need to either spin up the instances yourself or use platform like Apify, which allows running arbitrary-long jobs, provides pre-built Docker images for headless Chrome or XVFB, and provides SDK to simplify state persistence, access to proxies etc.<p>For example, a simple actor to convert HTML to PDF looks like this:<p><a href="https://www.apify.com/jancurn/url-to-pdf" rel="nofollow">https://www.apify.com/jancurn/url-to-pdf</a><p>More info:<p><a href="https://www.apify.com/docs/actor" rel="nofollow">https://www.apify.com/docs/actor</a><p><a href="https://www.apify.com/docs/sdk/apify-runtime-js/latest" rel="nofollow">https://www.apify.com/docs/sdk/apify-runtime-js/latest</a><p><a href="https://www.apify.com/library?type=acts" rel="nofollow">https://www.apify.com/library?type=acts</a><p>Disclaimer: I'm a co-founder of Apify