September 06, 2017

Headless chrome puppeteer

Happen to try out this "Headless Chrome Node API" from chrome today, this npm allows you to write headless chrome directly which we used to do with phantomjs or other tools, it provides useful and easy APIs,

I wrote a simple scripts allow me to check on CDC (ComfortDelGro Driving Centre) website to see if practical lessons are available now or not.

check codes below.

and setting.js