Selenium on Heroku
I spent a lot of time beating my head around the Selenium WebDriver in NodeJs that works locally on my Windows machine and easily deploys to Heroku. I finally got it working using PhantomJs as the headless browser. I was able to get Chrome and Firefox working locally, but not on Heroku. Here are the steps I took to get it working: 1. Install PhantomJS 2.1.1 http://phantomjs.org/download.html 2. Set up a Heroku app with an additional buildpack for PhantomJs: https://github.com/stomita/heroku-buildpack-phantomjs 3. Set up a simple NodeJs/Express app. I am currently on NodeJS LTS 6.10.3. Selenium-WebDriver will not work on node < 6. package.json: { "name": "untitled2", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "start": "node index.js", "test": "echo \"Error: no test specified\" && exit...