capture a website and return the base64-encoded string
1.2K
capture a website and return the base64-encoded string
docker run -d -p 3333:3000 --name selenium 0132621641/node-js-app:latest
curl localhost:3333/page/screenshot -X POST -H 'Content-Type:application/json' -d '{"url":"https://www.google.com"}'
fs.writeFileSync('/tmp/image.png', Buffer.from( stdOut, 'base64' ));
Content type
Image
Digest
sha256:5b4dac210…
Size
751.2 MB
Last updated
5 months ago
docker pull 0132621641/node-js-app