Puppeteer

Puppeteer - a nodejs library for Chrome/Chromium, similar to Selenium
Login

Puppeteer - a nodejs library for Chrome/Chromium, similar to Selenium

Prequisites

Node v7.6.0 or greater is required.

Debian/Ubuntu

Newer Node version are not in repos by default, have to be added (Node 8.x in this example):

sudo vi /etc/apt/sources.list.d/nodesource.list
    deb https://deb.nodesource.com/node_8.x xenial main
    deb-src https://deb.nodesource.com/node_8.x xenial main

Get GPG key:

curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -

Now update Node to 8.x:

sudo apt-get install nodejs
node --version

Install

Install may be done by non-root, but scripts will only working in current directory:

npm i puppeteer

Examples

Check the Makefile in this directory for working and non-working examples.