Install selenium-webdriver with npm install
The code uses safari as default. Just modify the browser variable to 'firefox' or 'chrome' as suitable
Make sure you have the correct webdriver installed for your browser
Run web crawler with the following command
node crawler.js <keyword> <pageNo>