0.0.1 • Published 9 months ago

earthtoday-nodered-puppeteer-core-chromium v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

earthtoday-nodered-puppeteer-core-chromium

This is a forked of node-red-contrib-puppeteer-core-chromium

Get started

Install

npm i earthtoday-nodered-puppeteer-core-chromium

Get stack size

ulimit -s

Set stack size to prevent puppeteer-core error callstack exceeded

node --stack-size=4096

Pre-install chromium, you can specify the location of your chrome/chromium browser in launch node.

E.g /usr/bin/chromium-browser

Using alpine docker

apk --no-cache add chromium

Flow

launch -> new page -> goto -> selector/click/screenshot/etc

To learn how to use puppeteer, see it's documentation.