I am trying to login on facebook.com with selenium-webdriver.
var webdriver = require(\'selenium-webdriver\'),
By = require(\'selenium-webdriver\').By,
n stable wouldn't do the trick for me. On the other hand,
nvm install stable
That actually got me to last nodejs version. Apparently n stable won't get pass v0.12.14 for me. I really don't know why.
Note: nvm is Node Version Manager, you can install it from its github page. Thanks @isaiah for noting that nvm is not a known command.