screenshots at scale based on headless chrome.
Webshot-factorycreates a number of headless-chrome worker instances which take screenshots in round robin. Thus, can be horizontally scaled to provide good throughput.
- Includes a debug status page to monitor the worker instances.
- Can be used for batch report generation.
- Or to take a number of screenshots in general.
- Written in Typescript (types bundled).
npm i webshot-factory
;await shotFactory;// Once initialized, just call getShot and// a shot will be scheduled on a worker// chrome instance.shotFactory;
Webshot-factory includes a status page to check the status of the running chrome instance workers.
Note: The default port is
To check the status and debug any problems. The page looks like this: