I was about start learning protractor and following the simple tutorial in there http://www.protractortest.org/#/tutorial
but unfortunately getting weird error after run
Protractor upgraded to WebDriver 2.48.2
with their release of version 3.0.0
. This version of WebDriver is not compatible with Node.js versions < 4
.
From CHANGELOG.md
in the Protractor project:
(18e1f71) chore(webdriver): upgrade Protractor to webdriver 2.48.2
BREAKING CHANGE:
1) Users will no longer be able to use node versions < 4.
2) There are significant changes to the control flow, and tests may need to be modified to be compliant with the new control flow. See Changes
Downgrading Protractor to 2.5.1
or upgrading Node.js to >= v4.0.0
should solve your problem. See here for more info on breaking changes in Protractor v3.0.0.