Lurker News

Comments (89) 28 threads

Earlier comments
jotto1 reply#
(Shameless promoting): for an API version of the prerendering functionality, with no warm-up latency, we're running a large cluster of Chrome headless instances here: https://www.prerender.cloud/
schickling#
Sounds like a great service and very useful for frontend developers.

We've built something similar internally and will shortly migrate it to Chromeless. We basically use it to pre-render our websites and docs: https://github.com/graphcool/prep

languagehacker1 reply#
We've been using chrome-remote-interface for test automation in a project that makes heavy use of Lambda for a distributed event processing infrastructure. I'm looking forward to seeing whether we can implement this for running our test automation suite!
schickling#
Would love to hear how that goes. Please reach out if you have any problems or questions. The easiest way is to ping me on Slack: https://slack.graph.cool
schickling#
Thanks a lot. This is fixed now!
victorhooi2 replies#
So to clarify - this is basically a Node.JS wrapper around Chrome headless, right? =_)

Seems pretty awesome.
My use case is to take screenshots of various pages - the docs don't mention the default viewport dimensions, btw.

schickling1 reply#
Yes exactly + this can run (in parallel) on AWS Lambda, so you don't need to worry about provisioning & running servers. That's actually the part I'm most excited about :)
purvis1 reply#
It's parallel because AWS Lambda is inherently parallel? Or are you referring to within JavaScript?
adieuadieu11 replies#
Parallel in that you can invoke many Lambda functions at the same time and have them run independently of each other

Continue this thread — 11 replies

roughcoder1 reply#
agreed no default is mentioned but you can declare with `await chromeless.viewport(1024, 800)`

Load more comments